]> gcc.gnu.org Git - gcc.git/commit
c-common.c (c_common_init): Call preprocess_file instead.
authorNeil Booth <neil@daikokuya.co.uk>
Sun, 11 Aug 2002 22:22:28 +0000 (22:22 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 11 Aug 2002 22:22:28 +0000 (22:22 +0000)
commit76c3e73e325f8452a05e8912d15740b1a5fb7ed9
tree4c8881ce4db4d58b891519d0bd6b159033e51ada
parente0c32c62d5c47790333bb557ed2d89a3806246d0
c-common.c (c_common_init): Call preprocess_file instead.

* c-common.c (c_common_init): Call preprocess_file instead.
(c_common_finish): Move to c-opts.c.
* c-common.h (preprocess_file): new.
* c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
check_deps_environment_vars, c_common_finish): New.
(c_common_decode_option): Update for out_fname and dependencies.
* cppinit.c (init_dependency_output, output_deps): Remove.
(cpp_destroy): Update prototype.
(cpp_add_dependency_target): New.
(cpp_read_main_file): Don't overlay a buffer.
(cpp_finish): Take a deps output stream and write deps to it.
Return the error count.
(cpp_post_options): Don't canonicalize out_fname, or do anything
with dependencies.
* cpplib.h (struct cpp_options): Remove out_fname and
preprocess_only.
(cpp_add_dependency_target): New.
(cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
* cppmain.c (cpp_preprocess_file): Update prototype.  Don't
set preprocess_only.  Don't handle the output stream directly.

From-SVN: r56214
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-opts.c
gcc/cppinit.c
gcc/cpplib.h
gcc/cppmain.c
This page took 0.058974 seconds and 5 git commands to generate.