summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-04-20 14:01:18 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2009-04-20 14:01:18 -0700
commitd784a083a3f1bc37f6a90cb12ccbcbc2cef570bb (patch)
treec20222de8d6b4f94e34e2591e823c76df00cad97 /test
parent6ca419e7c56bfc854965c0d6cba81fc24cb527c3 (diff)
downloadnasm-d784a083a3f1bc37f6a90cb12ccbcbc2cef570bb.tar.gz
preproc: unify token-pasting code
Unify the token-pasting code between the macro expansion and the preprocessor parameter case. Parameterize whether or not to handle %+ tokens during expansion (%+ tokens have late binding semantics.) Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/weirdpaste.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/weirdpaste.asm b/test/weirdpaste.asm
index 529298ba..46bfa90a 100644
--- a/test/weirdpaste.asm
+++ b/test/weirdpaste.asm
@@ -23,3 +23,7 @@
df 33, 20
df 0, 2
df 1.2, 5
+
+
+%define N 1e%++%+ 5
+ dd N, 1e+5