diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-04-20 14:01:18 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-04-20 14:01:18 -0700 |
commit | d784a083a3f1bc37f6a90cb12ccbcbc2cef570bb (patch) | |
tree | c20222de8d6b4f94e34e2591e823c76df00cad97 /test | |
parent | 6ca419e7c56bfc854965c0d6cba81fc24cb527c3 (diff) | |
download | nasm-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.asm | 4 |
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 |