Make strings a first-class token type; defer evaluation
commit11627049aec88e21b6a9cbdef10984868d4ca3fe
authorH. Peter Anvin <hpa@zytor.com>
Tue, 10 Jun 2008 03:45:19 +0000 (9 20:45 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 10 Jun 2008 03:45:19 +0000 (9 20:45 -0700)
tree1d6a223214cc0425ea11d3e2314b68d4030c2db6
parentfcb8909749b2a159ba7f32fec7df8e465a974f77
Make strings a first-class token type; defer evaluation

Make strings a proper, first-class token type, instead of relying on
the "TOKEN_NUM with tv_charptr" hack.  Only convert a string to a
number if requested in an expression context; this also makes it
possible to actually issue a warning when it overflows.
eval.c
nasm.h
parser.c
preproc.c
stdscan.c