diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-06 23:12:30 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-06 23:12:30 +0000 |
commit | e920deaf1748fdced02a6fdd586c792e67d8511a (patch) | |
tree | 67d3347376b5ce3e8f6b568c099d8391313de175 /gcc/cppinit.c | |
parent | ef95318d7471ed79c5ed341a48668c9239964907 (diff) | |
download | gcc-e920deaf1748fdced02a6fdd586c792e67d8511a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63913 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 2068ba1d675..76b99b0079d 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -191,6 +191,8 @@ init_library () we were compiled with a compiler that supports C99 designated initializers. */ init_trigraph_map (); + + _cpp_init_mbchar (); } } |