cpplib.c (dtable): Update.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Tue, 18 Jun 2002 06:27:40 +0000 (06:27 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 18 Jun 2002 06:27:40 +0000 (06:27 +0000)
commitd97371e0249f5c29f306ffe9bebd555fa8fea3c9
tree91cf53e07a5ce822aa18fc347d7f155a4deeee70
parent807b20b01ec236384e83cbed3b82241616a97880
cpplib.c (dtable): Update.

* 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.

From-SVN: r54732
gcc/ChangeLog
gcc/cpphash.h
gcc/cpplib.c
gcc/cpptrad.c