cpplib.c (initialize_char_syntax): Move to cppinit.c.
authorZack Weinberg <zack@gcc.gnu.org>
Fri, 5 Feb 1999 08:11:18 +0000 (08:11 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Fri, 5 Feb 1999 08:11:18 +0000 (08:11 +0000)
commita49f70bdf99cb151e1c40b1f5d3479a4acfdcaf8
tree257899f1bac897f0b3ef9537814cb26b66ab6a20
parent93089423bd89eda39fa008bb5a03c269049a47f8
cpplib.c (initialize_char_syntax): Move to cppinit.c.

1999-02-04 14:33 -0500 Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (initialize_char_syntax): Move to cppinit.c.
(cpp_define): Remove redundant syntax checks.
(make_assertion): Rename cpp_assert, remove redundant syntax
checks, export.
(cpp_options_init): Don't init things to zero twice.
(cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
(do_include): Kill excessively verbose #import warning that
snuck back in in the gcc2 merge.
(convert_string): Removed.
(do_line): Rewrite with simple last-name-used cache instead of
private hashtable.
(cpp_start_read): Call initialize_char_syntax here, not...
(cpp_reader_init): ...here.
(cpp_handle_options): Support the -std switch.
* cpplib.h (cpp_buffer): Add last_nominal_fname member.
(cpp_options): Add c9x flag.
Declare all the is_* tables and trigraph table here, as const.
Prototype cpp_assert and initialize_char_syntax.
* cppinit.c: New file.
* cppfiles.c (read_and_prescan): Optimize.
* Makefile.in (LIBCPP_OBJS): Add cppinit.o.

From-SVN: r25040
gcc/ChangeLog