summaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-09-17 18:26:12 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-09-17 18:26:12 +0000
commit14baae01f63af3ef58bf9a0923a92d0de7098891 (patch)
tree1bee8006a617d6612c2e199afafa13805239e1a9 /gcc/cpphash.h
parent7a91449ca19c444f48b8bc36f6a665dbec267706 (diff)
downloadgcc-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.h1
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));