aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-10-21 14:04:42 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-10-21 14:04:42 +0000
commit480709cc6c3deed4fd90c02e86920d8a3e98ceb6 (patch)
tree89ea5c85908fbe5e7d5dbc18983341f4a856a863 /gcc/cpplib.c
parent28d8dc3a10515f24498449589849dee132b75cd1 (diff)
downloadgcc-480709cc6c3deed4fd90c02e86920d8a3e98ceb6.zip
gcc-480709cc6c3deed4fd90c02e86920d8a3e98ceb6.tar.gz
gcc-480709cc6c3deed4fd90c02e86920d8a3e98ceb6.tar.bz2
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
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 11c3b6c..2f25f87 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -1784,10 +1784,6 @@ cpp_push_buffer (pfile, buffer, len, from_stage3, return_at_eof)
new->line_base = new->buf = new->cur = buffer;
new->rlimit = buffer + len;
-
- /* No read ahead or extra char initially. */
- new->read_ahead = EOF;
- new->extra_char = EOF;
new->from_stage3 = from_stage3;
new->prev = pfile->buffer;
new->return_at_eof = return_at_eof;