diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-04 07:00:39 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-04 07:00:39 +0000 |
commit | f7070933b3feac1a4bb0eabb9361ac3e522c7730 (patch) | |
tree | 6d2189352e8a28a8545db3e74436f2c90de22536 /gcc/cpphash.h | |
parent | 256f9b655aae2e1280a1e9eca87223e52d2d6260 (diff) | |
download | gcc-f7070933b3feac1a4bb0eabb9361ac3e522c7730.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63773 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 16aba087b88..3eac96c7d74 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -240,18 +240,6 @@ struct spec_nodes cpp_hashnode *n__VA_ARGS__; /* C99 vararg macros */ }; -/* Encapsulates state used to convert a stream of tokens into a text - file. */ -struct printer -{ - FILE *outf; /* Stream to write to. */ - const struct line_map *map; /* Logical to physical line mappings. */ - const cpp_token *prev; /* Previous token. */ - const cpp_token *source; /* Source token for spacing. */ - unsigned int line; /* Line currently being written. */ - unsigned char printed; /* Nonzero if something output at line. */ -}; - /* Represents the contents of a file cpplib has read in. */ struct cpp_buffer { @@ -422,9 +410,6 @@ struct cpp_reader preprocessor. */ struct spec_nodes spec_nodes; - /* Used when doing preprocessed output. */ - struct printer print; - /* Nonzero means don't look for #include "foo" the source-file directory. */ unsigned char quote_ignores_source_dir; |