diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-03-04 07:00:39 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-03-04 07:00:39 +0000 |
commit | 63973df35012e01a00e7f58fd12e8221097ec33d (patch) | |
tree | 6d2189352e8a28a8545db3e74436f2c90de22536 /gcc/c-common.c | |
parent | 95f3f59efde3d3138d216aca9d00913cb4c1a002 (diff) | |
download | gcc-63973df35012e01a00e7f58fd12e8221097ec33d.zip gcc-63973df35012e01a00e7f58fd12e8221097ec33d.tar.gz gcc-63973df35012e01a00e7f58fd12e8221097ec33d.tar.bz2 |
Makefile.in: Update.
* Makefile.in: Update.
* c-common.c (flag_no_line_commands, flag_no_output,
flag_dump_macros, flag_dump_includes): New.
* c-common.h (flag_no_line_commands, flag_no_output,
flag_dump_macros, flag_dump_includes, preprocess_file): New.
(init_c_lex): Update prototype.
* c-lex.c (init_c_lex): Update prototype; move some code to
c_common_init.
* c-opts.c (preprocess_file): Subsume into c_common_init.
(c_common_decode_option): Update flags.
(c_common_init): Move code from preprocess_file and init_c_lex.
(sanitize_cpp_opts): Update.
* c-ppoutput.c: New, cppmain.c almost verbatim.
* cpphash.h (struct printer): Remove.
(struct cpp_reader): Remove print.
* cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
cpp_preprocess_file): Remove.
(struct cpp_options): Remove no_output, no_line_commands, dump_macros
and dump_includes.
* cppmain.c: Remove.
* doc/passes.texi: Update.
From-SVN: r63773
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 1a20b47..65f9799 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -198,8 +198,26 @@ int allow_pch = 1; /* Switches common to the C front ends. */ /* Nonzero if prepreprocessing only. */ + int flag_preprocess_only; +/* Nonzero means don't output line number information. */ + +char flag_no_line_commands; + +/* Nonzero causes -E output not to be done, but directives such as + #define that have side effects are still obeyed. */ + +char flag_no_output; + +/* Nonzero means dump macros in some fashion. */ + +char flag_dump_macros; + +/* Nonzero means pass #include lines through to the output. */ + +char flag_dump_includes; + /* The file name to which we should write a precompiled header, or NULL if no header will be written in this compile. */ |