diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-14 07:38:20 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-14 07:38:20 +0000 |
commit | ae2348f67b17faf87574e6c1e60328de1900aee5 (patch) | |
tree | 5dc2a18484a5feaa3e30f77dadcb35f5c4945fc5 /gcc/cpplib.h | |
parent | b429d3ee1b1dc11f93cbcac2625e2054afd3be43 (diff) | |
download | gcc-ae2348f67b17faf87574e6c1e60328de1900aee5.tar.gz |
* c-lex.c (lex_number): Only warn traditionally for U suffix
outside system macros.
* cppexp.c (parse_number): Similarly.
* cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
* cppmacro.c (struct cpp_macro): New member node.
(parse_args): Only warn about missing rest args if not
a system macro.
(funlike_invocation_p): Similarly for uninvoked funlike macros.
(cpp_sys_objmacro_p): New.
(_cpp_create_definition): Store the node with the macro defn.
Remember if the macro is defined in a system header.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39661 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index eec4f1eb435..2b7a99da6ce 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -604,6 +604,7 @@ extern void cpp_forall_identifiers PARAMS ((cpp_reader *, extern void cpp_scan_buffer_nooutput PARAMS ((cpp_reader *, int)); extern void cpp_start_lookahead PARAMS ((cpp_reader *)); extern void cpp_stop_lookahead PARAMS ((cpp_reader *, int)); +extern int cpp_sys_objmacro_p PARAMS ((cpp_reader *)); /* In cppfiles.c */ extern int cpp_included PARAMS ((cpp_reader *, const char *)); |