From c691145a655ed6fe191c2f7ce3220f19e46d2c3f Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 3 Mar 2001 11:32:32 +0000 Subject: 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 --- gcc/c-lex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/c-lex.c') 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; -- cgit v1.1