summaryrefslogtreecommitdiff
path: root/saa.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2012-08-04 10:51:58 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2012-08-07 11:27:17 +0400
commit1cf9b31d5513e71ba6fc01cccd22bcf0de8eb445 (patch)
treed1f6793b3120d6466ae5839ff23168cca02c03b5 /saa.c
parenteb867fe78e2ac71256ded5559f04a899ae93ab89 (diff)
downloadnasm-1cf9b31d5513e71ba6fc01cccd22bcf0de8eb445.tar.gz
nasm-1cf9b31d5513e71ba6fc01cccd22bcf0de8eb445.tar.bz2
nasm-1cf9b31d5513e71ba6fc01cccd22bcf0de8eb445.zip
BR 3392207: preproc: Rewrite paste_tokens routine
This should make it easier to read and moreover now we're able to preprocess pasting as %define N 1e%++%+ 5 dd N, 1e+5 Note that N should be expanded as series of pasting to 1e+5 term, but before this patch we were ending up in 1e+%+ 5 which is wrong. In other words the fixed version output is dd 1e+5, 1e+5 while broken one was dd 1e+%+ 5, 1e+5 This patch also fixes nil dereferences in case if there is no left or right token around pasting term. http://bugzilla.nasm.us/show_bug.cgi?id=3392207 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'saa.c')
0 files changed, 0 insertions, 0 deletions