diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-04-08 14:02:25 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-04-08 14:02:25 -0700 |
commit | 6125b624037a73f621295ff8bce0baffe9cb57ee (patch) | |
tree | 6dc8699d1b126d328670955525845deee77d13d5 /test | |
parent | 93f77ac51a8258d5871127c15bb7b59a49d0dca2 (diff) | |
download | nasm-6125b624037a73f621295ff8bce0baffe9cb57ee.tar.gz nasm-6125b624037a73f621295ff8bce0baffe9cb57ee.tar.bz2 nasm-6125b624037a73f621295ff8bce0baffe9cb57ee.zip |
preproc: fix more token pasting cases
"+" can be a separate token that ends up having to get pulled into the
middle of a floating-point constant. It's not even that strange.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/weirdpaste.asm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/weirdpaste.asm b/test/weirdpaste.asm index c6e9815..529298b 100644 --- a/test/weirdpaste.asm +++ b/test/weirdpaste.asm @@ -12,3 +12,14 @@ %endmacro dx foo, bar + +%macro df 2 +%assign xy __float32__(%1e+%2) + dd xy + dd %1e+%2 +%endmacro + + df 1, 36 + df 33, 20 + df 0, 2 + df 1.2, 5 |