From 64aaf40718c2f7664d6bb6de25575ca2451a59b3 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 8 Apr 2000 04:00:02 +0000 Subject: cppexp.c (parse_charconst): Null does not end character constants. * cppexp.c (parse_charconst): Null does not end character constants. * cppinit.c (ISTABLE): Null character handled as whitespace. * cpplex.c (null_warning): new function. (skip_string): Emit warning if nulls encountered. (_cpp_skip_hspace): Emit warning if nulls encountered. (_cpp_lex_token): Emit warning if nulls encountered. Drop them. * cpp.texi: Update. From-SVN: r33013 --- gcc/cppinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cppinit.c') diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 62da1f3..f4391ff 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -265,7 +265,7 @@ ISTABLE N('1') N('2') N('3') N('4') N('5') N('6') N('7') N('8') N('9') N('0') - H(' ') H('\t') H('\v') H('\f') + H('\0') H(' ') H('\t') H('\v') H('\f') S('\n') END -- cgit v1.1