Makefile.in: Update for cpptrad.c.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Fri, 17 May 2002 20:16:48 +0000 (20:16 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 17 May 2002 20:16:48 +0000 (20:16 +0000)
commit004cb2635143f44703686ca8b1e1ce0df91e0d43
tree06c8cca4d252c4189a9e560a900afba199add8fc
parentbdcae02bc40594b8e41e7aff7a4b309d41be59c0
Makefile.in: Update for cpptrad.c.

* Makefile.in: Update for cpptrad.c.
* cpphash.h (struct cpp_buffer): New members for buffer
overlays.
(struct cpp_reader): New members for traditional output.
(_cpp_read_logical_line, _cpp_overlay_buffer): New.
* cppinit.c (cpp_create_reader): Set trad_line.
(cpp_destroy): Free trad_out_base if used.
(cpp_read_main_file): Overlay an empty buffer if traditional.
(cpp_finish_options): Don't do builtins.
(COMMAND_LINE_OPTIONS): Add -traditional-cpp.
(cpp_handle_option): Handle it.
* cpplex.c (continue_after_nul): New.
(_cpp_lex_direct): Use handle_nul.
* cpplib.h (struct cpp_options): New traditional option.
* cpptrad.c: New file.

From-SVN: r53568
gcc/ChangeLog
gcc/Makefile.in
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.h
gcc/cpptrad.c [new file with mode: 0644]