* tradcpp.h: For tradcpp, NUL is not whitespace.
authorNeil Booth <neilb@earthling.net>
Mon, 11 Dec 2000 19:38:15 +0000 (19:38 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 11 Dec 2000 19:38:15 +0000 (19:38 +0000)
From-SVN: r38194

gcc/ChangeLog
gcc/tradcpp.h

index 5962fbd..5b463a7 100644 (file)
@@ -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>
index f4c9ff3..d5ec19e 100644 (file)
@@ -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_ */