diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-24 15:29:28 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-24 15:29:51 -0700 |
commit | c2df282092512917e558f56797f2e2be889de61c (patch) | |
tree | 0907bf7ea7cd4f859201e9bb0d6b1c8bfdbe10a1 /nasm.h | |
parent | f6816b25bf1c4852765a15564df3bc6a5081dfe1 (diff) | |
download | nasm-c2df282092512917e558f56797f2e2be889de61c.tar.gz nasm-c2df282092512917e558f56797f2e2be889de61c.tar.bz2 nasm-c2df282092512917e558f56797f2e2be889de61c.zip |
Fix the handling of floating-point tokens in the preprocessor
Correct the handling of floating-point tokens in the preprocessor.
The preprocessor scanner and the main scanner really are painfully
divergent for no good reason.
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -312,7 +312,7 @@ extern Preproc nasmpp; /* Ditto for numeric constants. */ #define isnumstart(c) ( isdigit(c) || (c)=='$' ) -#define isnumchar(c) ( isalnum(c) ) +#define isnumchar(c) ( isalnum(c) || (c)=='_' ) /* This returns the numeric value of a given 'digit'. */ |