]> gcc.gnu.org Git - gcc.git/commit - gcc/cppmacro.c
c-lex.c (lex_number): Only warn traditionally for U suffix outside system macros.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Wed, 14 Feb 2001 07:38:20 +0000 (07:38 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 14 Feb 2001 07:38:20 +0000 (07:38 +0000)
commit7065e130e02c335c37f44874a83c4cbf59dfea89
tree5dc2a18484a5feaa3e30f77dadcb35f5c4945fc5
parent52682a1b7720c9f2d8528c3498631636f09ebd90
c-lex.c (lex_number): Only warn traditionally for U suffix outside system macros.

        * 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.

From-SVN: r39661
gcc/ChangeLog
gcc/c-lex.c
gcc/cppexp.c
gcc/cpplib.h
gcc/cppmacro.c
This page took 0.060926 seconds and 5 git commands to generate.