diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-21 14:04:42 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-21 14:04:42 +0000 |
commit | 1c124f8531c7403508914610342c7384cec365b7 (patch) | |
tree | 89ea5c85908fbe5e7d5dbc18983341f4a856a863 /gcc/cpphash.h | |
parent | c2f6fecd48688e95ee8a20e07a0e97270c562b66 (diff) | |
download | gcc-1c124f8531c7403508914610342c7384cec365b7.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 8a435a05183..ccb9a47cee8 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -171,10 +171,9 @@ struct spec_nodes struct cpp_buffer { const unsigned char *cur; /* current position */ + const unsigned char *backup_to; /* if peeked character is not wanted */ const unsigned char *rlimit; /* end of valid data */ const unsigned char *line_base; /* start of current line */ - cppchar_t read_ahead; /* read ahead character */ - cppchar_t extra_char; /* extra read-ahead for long tokens. */ struct cpp_buffer *prev; |