summaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-03 11:32:32 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-03 11:32:32 +0000
commit211d5a7c4c2542924a916bd000096508b3bc9c80 (patch)
tree13a0b2cea1a5401bbb4f81dfe7b01474a61b9a00 /gcc/cppexp.c
parentfa88fe22edd12e28fd56a94661a7474fa2d56310 (diff)
downloadgcc-211d5a7c4c2542924a916bd000096508b3bc9c80.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40211 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 6ce693e48cc..1231a7e2669 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -205,7 +205,7 @@ parse_number (pfile, tok)
if (CPP_WTRADITIONAL (pfile)
&& sufftab[i].u
- && ! cpp_sys_objmacro_p (pfile))
+ && ! cpp_sys_macro_p (pfile))
cpp_warning (pfile, "traditional C rejects the `U' suffix");
if (sufftab[i].l == 2 && CPP_OPTION (pfile, pedantic)
&& ! CPP_OPTION (pfile, c99))