OSDN Git Service

* cpphash.h (struct cpp_reader): Make date and time strings.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Jun 2002 05:40:08 +0000 (05:40 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Jun 2002 05:40:08 +0000 (05:40 +0000)
commit9c343313ea14c543785f41b5f43e10e530f87d07
tree3c3d821dfd3b04ed9aaf9b7fbdf7297ca8b32a1f
parent770eb97707cc9f2454a4d2102b79b61ef5bba5c8
* cpphash.h (struct cpp_reader): Make date and time strings.
(_cpp_builtin_macro_text, _cpp_copy_replacement_text,
_cpp_replacement_text_len): New.
* cppinit.c (cpp_create_reader): Update.
(init_builtins): Register appropriate builtins for -traditional-cpp.
* cppmacro.c (new_number_token): Remove.
(_cpp_builtin_macro_text): New.
(builtin_macro): Use it.
(cpp_macro_definition): Update to handle traditional macros.
* cppmain.c (cb_line_change): Don't do column positioning for
traditional output.
* cpptrad.c (enum ls): Rename ls_fun_macro to ls_fun_open.  New
state ls_fun_close.
(skip_whitespace): Fix.
(maybe_start_funlike): Don't set state.parsing_args.
(scan_out_logical_line): Remove duplicate error.  Use lex_state
rather than state.parsing_args.
(push_replacement_text): Handle builtins.
(_cpp_replacement_text_len, _cpp_copy_replacement_text): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54771 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.h
gcc/cppinit.c
gcc/cppmacro.c
gcc/cppmain.c
gcc/cpptrad.c