diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-03-03 11:32:32 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-03-03 11:32:32 +0000 |
commit | c691145a655ed6fe191c2f7ce3220f19e46d2c3f (patch) | |
tree | 13a0b2cea1a5401bbb4f81dfe7b01474a61b9a00 /gcc/c-lex.c | |
parent | 4073aad5b5460710695ff3d15315e16c6549311e (diff) | |
download | gcc-c691145a655ed6fe191c2f7ce3220f19e46d2c3f.zip gcc-c691145a655ed6fe191c2f7ce3220f19e46d2c3f.tar.gz gcc-c691145a655ed6fe191c2f7ce3220f19e46d2c3f.tar.bz2 |
cpp.texi: Update.
* cpp.texi: Update.
* cppexp.c (parse_number): Update.
* cpplex.c (parse_string): Pedwarn if multiline string does not
result from a system header's macro.
* cpplib.h (sys_objmacro_p): Rename sys_macro_p.
* cppmacro.c (sys_objmacro_p): Rename sys_macro_p. Return true
for function-like macros too.
* c-lex.c (parse_number): Update.
From-SVN: r40211
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 9078361..1af7cd6 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -1227,7 +1227,7 @@ lex_number (str, len) if (fflag) ERROR ("more than one 'f' suffix on floating constant"); else if (warn_traditional && !in_system_header - && ! cpp_sys_objmacro_p (parse_in)) + && ! cpp_sys_macro_p (parse_in)) warning ("traditional C rejects the 'f' suffix"); fflag = 1; @@ -1237,7 +1237,7 @@ lex_number (str, len) if (lflag) ERROR ("more than one 'l' suffix on floating constant"); else if (warn_traditional && !in_system_header - && ! cpp_sys_objmacro_p (parse_in)) + && ! cpp_sys_macro_p (parse_in)) warning ("traditional C rejects the 'l' suffix"); lflag = 1; @@ -1313,7 +1313,7 @@ lex_number (str, len) if (spec_unsigned) error ("two 'u' suffixes on integer constant"); else if (warn_traditional && !in_system_header - && ! cpp_sys_objmacro_p (parse_in)) + && ! cpp_sys_macro_p (parse_in)) warning ("traditional C rejects the 'u' suffix"); spec_unsigned = 1; |