]> git.ipfire.org Git - thirdparty/gcc.git/commit
* cpplib.c (dtable): Update.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 2002 06:27:40 +0000 (06:27 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 2002 06:27:40 +0000 (06:27 +0000)
commitbab5e68f90c872e9d36009784b52dc405d672873
tree91cf53e07a5ce822aa18fc347d7f155a4deeee70
parentd1a3f88dfcaec8460686867db02c49a77c214cf6
* cpplib.c (dtable): Update.
(end_directive): Decrement expansion prevention count.
Clear state.in_expression.
(prepare_directive_trad): Set state.in_expression.
Increment expansion prevention count.
* cpptrad.c (enum ls): New.
(_cpp_overlay_buffer): Set overlaid_buffer.
(_cpp_remove_overlay): Use overlaid_buffer.
(_cpp_read_logcial_line_trad): Update buffer when it might
have changed.
(scan_out_logical_line): Handle state transitions for assertions
and defined() in #if, and for funlike invocations including the
directive case.  Handle '<' and '>' as a quote mechanism in
#include.  Warn about unterminated macro invocations.
* cpphash.h (struct lexer_state): New member in_expression.
(struct cpp_reader): New member overlaid buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54732 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.h
gcc/cpplib.c
gcc/cpptrad.c