diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tradcpp.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5962fbd..5b463a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2000-12-11 Neil Booth <neilb@earthling.net> + * tradcpp.h: For tradcpp, NUL is not whitespace. + +2000-12-11 Neil Booth <neilb@earthling.net> + * fix-header.c (read_scan_file): Macro expansion is not a file buffer. 2000-12-05 Marek Michalkiewicz <marekm@linux.org.pl> diff --git a/gcc/tradcpp.h b/gcc/tradcpp.h index f4c9ff3..d5ec19e 100644 --- a/gcc/tradcpp.h +++ b/gcc/tradcpp.h @@ -39,6 +39,6 @@ extern int test_assertion PARAMS ((unsigned char **)); #define is_idchar(x) ISIDNUM(x) #define is_idstart(x) ISIDST(x) #define is_space(x) ISSPACE(x) -#define is_nvspace(x) IS_NVSPACE(x) +#define is_nvspace(x) (IS_NVSPACE(x) && x != '\0') #endif /* ! _TRADCPP_H_ */ |