diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-09-17 18:26:12 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-09-17 18:26:12 +0000 |
commit | 14baae01f63af3ef58bf9a0923a92d0de7098891 (patch) | |
tree | 1bee8006a617d6612c2e199afafa13805239e1a9 /gcc/cpphash.h | |
parent | 7a91449ca19c444f48b8bc36f6a665dbec267706 (diff) | |
download | gcc-14baae01f63af3ef58bf9a0923a92d0de7098891.tar.gz |
cpphash.h (_cpp_lex_direct): New.
* cpphash.h (_cpp_lex_direct): New.
* cpplex.c (_cpp_lex_token): Update.
(lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
and increment that pointer.
* cppmacro.c (alloc_expansion_token): New.
(lex_expansion_token): Lex macro expansion directly into
macro storage.
From-SVN: r45656
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index e6772b2d5d6..64deaa2fa23 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -399,6 +399,7 @@ extern int _cpp_parse_expr PARAMS ((cpp_reader *)); /* In cpplex.c */ extern const cpp_token *_cpp_lex_token PARAMS ((cpp_reader *)); +extern cpp_token *_cpp_lex_direct PARAMS ((cpp_reader *)); extern int _cpp_equiv_tokens PARAMS ((const cpp_token *, const cpp_token *)); extern void _cpp_init_tokenrun PARAMS ((tokenrun *, unsigned int)); |