cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sun, 21 Oct 2001 14:04:42 +0000 (14:04 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 21 Oct 2001 14:04:42 +0000 (14:04 +0000)
commit480709cc6c3deed4fd90c02e86920d8a3e98ceb6
tree89ea5c85908fbe5e7d5dbc18983341f4a856a863
parent28d8dc3a10515f24498449589849dee132b75cd1
cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.

* cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
* cpplex.c (lex_percent, lex_dot): Remove.
(get_effective_char, skip_block_comment, skip_line_comment,
parse_identifier_slow, parse_number, parse_string, save_comment,
_cpp_lex_direct): Update to do lookback freely.
(IF_NEXT_IS, BACKUP): New macros.
* cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
* cppmacro.c (paste_tokens): Update.

From-SVN: r46392
gcc/ChangeLog
gcc/cpphash.h
gcc/cpplex.c
gcc/cpplib.c
gcc/cppmacro.c