]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cppinit.c
* cpphash.h (struct cpp_reader): Add print_version field.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2001 00:42:28 +0000 (00:42 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2001 00:42:28 +0000 (00:42 +0000)
commita19b96682e7d8a5423d9a32aa4623cf90bb56fb3
tree4ecc2785da359d98a20a15c593a6295bd53281e7
parente2df8b814aafe37e171cc5138766b2b5f7a16dfe
* cpphash.h (struct cpp_reader): Add print_version field.
* cppinit.c (cpp_handle_option): For -v, -version, and --version,
just set print_version and other flags as appropriate.
(cpp_post_options): Print version here if print_version is set.

* toplev.c (exit_after_options): New flag.
(independent_decode_option): Don't exit here; just set
exit_after_options.
(main): Exit after calling lang_hooks.post_options if
exit_after_options is true.

* cppinit.c (append_include_chain): Drop never-used case QUOTE.
(merge_include_chains): Adjust comment to match code.

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