OSDN Git Service

1999-02-04 14:33 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
authorbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Feb 1999 11:36:54 +0000 (11:36 +0000)
committerbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Feb 1999 11:36:54 +0000 (11:36 +0000)
commita852e3b162de7b5da4e3f556e6c0ef2a6be585b8
treef83be6cdafbc1c89d47e5f3cafe7b3c98fd2c0fc
parentd6d3f0aad9f9435da7c01ddcb5f1ff878ec78d55
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25024 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/Makefile.in
gcc/cppfiles.c
gcc/cppinit.c [new file with mode: 0644]
gcc/cpplib.c
gcc/cpplib.h