diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5962fbd61549..5b463a7bb429 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-12-11 Neil Booth + + * tradcpp.h: For tradcpp, NUL is not whitespace. + 2000-12-11 Neil Booth * fix-header.c (read_scan_file): Macro expansion is not a file buffer. diff --git a/gcc/tradcpp.h b/gcc/tradcpp.h index f4c9ff34e3de..d5ec19e57988 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_ */