* cpphash.c (trad_stringify, add_pat): New functions.
commitfdaea7a20d303496fa4dca869aeaa7c5a6fad9db
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Apr 2000 23:02:08 +0000 (22 23:02 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Apr 2000 23:02:08 +0000 (22 23:02 +0000)
treece631ea761f6a054491332ece44f6ba0154f01b3
parent541b1cdeb476c9bc6be5c92ab53694782ee32e41
* cpphash.c (trad_stringify, add_pat): New functions.
(collect_expansion): Restore support for -traditional syntax.
Use trad_stringify and add_pat.
(_cpp_macroexpand): Restore support for -traditional semantics.
* cpplex.c (_cpp_scan_line): Don't change space_before if we
get a COMMENT token.
(_cpp_lex_token): Provide COMMENT tokens to caller if
traditional and parsing_define_directive.
(skip_comment): Warn about // comments if -Wtraditional.
* cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
proper node type.
(do_undef): Don't warn about undefining EMPTY nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33350 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.c
gcc/cpplex.c
gcc/cpplib.c