repo.or.cz
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
preproc: Fix the token in expanding the %+/%- macro-parameters
[nasm.git]
/
test
/
evalmacro.asm
blob
f93f6939085caa5cf6bd393408cc03b5532a9698
1
%
define tonum
(=
x
)
x
2
3
dd
tonum
(
1
+
3
)
4
dd
tonum
(
5
*
7
)
5
6
%
define mixed
(
a
,=
b
,
c
) (
a
+
b
)
7
%
define mixed2
(
a
,=
b
,) (
a
+
b
)
8
%
define ALPHA
(
1
+
2
)
9
%
define BETA
(
3
+
4
)
10
%
define GAMMA
(
5
+
6
)
11
12
dd
mixed
(
ALPHA
,
BETA
,
GAMMA
)
13
dd
mixed2
(
ALPHA
,
BETA
,
GAMMA
)