diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-05-17 20:16:48 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-05-17 20:16:48 +0000 |
commit | 004cb2635143f44703686ca8b1e1ce0df91e0d43 (patch) | |
tree | 06c8cca4d252c4189a9e560a900afba199add8fc /gcc/cpplib.h | |
parent | bdcae02bc40594b8e41e7aff7a4b309d41be59c0 (diff) | |
download | gcc-004cb2635143f44703686ca8b1e1ce0df91e0d43.zip gcc-004cb2635143f44703686ca8b1e1ce0df91e0d43.tar.gz gcc-004cb2635143f44703686ca8b1e1ce0df91e0d43.tar.bz2 |
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
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 378fa7e..982d0f1 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -387,6 +387,9 @@ struct cpp_options parsing; drivers might want to continue printing help. */ unsigned char help_only; + /* True for traditional preprocessing. */ + unsigned char traditional; + /* Target-specific features set by the front end or client. */ /* Precision for target CPP arithmetic, target characters, target |