diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-11 22:22:28 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-11 22:22:28 +0000 |
commit | 6019c708aa8918eab873acee36512fb3c1b76b80 (patch) | |
tree | 4c8881ce4db4d58b891519d0bd6b159033e51ada /gcc/c-common.h | |
parent | de8409f83aafae832204dc8cea829d90ab4cbf79 (diff) | |
download | gcc-6019c708aa8918eab873acee36512fb3c1b76b80.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56214 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 989c90810b7..ce3860820fb 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -1209,6 +1209,8 @@ extern int c_common_unsafe_for_reeval PARAMS ((tree)); extern const char *init_c_lex PARAMS ((const char *)); +extern void preprocess_file PARAMS ((void)); + /* Information recorded about each file examined during compilation. */ struct c_fileinfo |