Cosmetic tweaks: cpplib, toplev.c

Richard Henderson rth@redhat.com
Wed Feb 28 00:44:00 GMT 2001


On Mon, Feb 19, 2001 at 10:08:34PM -0800, Zack Weinberg wrote:
> 	* 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.

Ok.

> +/* Nonzero if we should exit after parsing options.  */
> +int exit_after_options = 0;

This should probably be static.


r~



More information about the Gcc-patches mailing list