diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-03-06 23:12:30 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-03-06 23:12:30 +0000 |
commit | 9d10c9a9eb26bb822177b177e0f8edc7000a3b70 (patch) | |
tree | 67d3347376b5ce3e8f6b568c099d8391313de175 /gcc/c-common.h | |
parent | d1867128b29a772691b9d5909558cf8f478cb531 (diff) | |
download | gcc-9d10c9a9eb26bb822177b177e0f8edc7000a3b70.zip gcc-9d10c9a9eb26bb822177b177e0f8edc7000a3b70.tar.gz gcc-9d10c9a9eb26bb822177b177e0f8edc7000a3b70.tar.bz2 |
Makefile.in (c-ppoutput.o): Update.
* Makefile.in (c-ppoutput.o): Update.
* c-common.h (init_pp_output): New.
(preprocess_file): Update.
* c-lex.c (init_c_lex): Move mbchar initialization to cpplib.
Register builtins.
* c-opts.c (c_common_init): Call init_pp_output if preprocessing.
Make call to cpp_read_main_file common to whether preprocessing
or not. Don't register builtins.
* c-ppoutput.c: Include c-pragma.h.
(setup_callbacks): Rename init_pp_output.
(preprocess_file): No longer setup callbacks or call
cpp_read_main_file.
* cpphash.h (_cpp_init_mbchar): New.
* cppinit.c (init_library): Call _cpp_init_mbchar.
* cpplex.c (_cpp_init_mbchar): New.
From-SVN: r63913
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index fb0b6c7..5214ef7 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -1292,8 +1292,9 @@ extern void c_common_read_pch PARAMS ((cpp_reader *pfile, int fd, const char *orig)); extern void c_common_write_pch PARAMS ((void)); -extern void preprocess_file PARAMS ((cpp_reader *, - const char *, - FILE *)); + +/* In c-ppoutput.c */ +extern void init_pp_output PARAMS ((FILE *)); +extern void preprocess_file PARAMS ((cpp_reader *)); #endif /* ! GCC_C_COMMON_H */ |