diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-30 19:02:11 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-30 19:02:11 +0000 |
commit | 4bd9ae5276299ad2fc2b301cadf7922886a2818a (patch) | |
tree | a43933ec640ae0a70ea41b9f0d2e514222c396c1 /gcc/cp/lex.h | |
parent | b9f1e2cba827027a775b856ce3f17b944036ce94 (diff) | |
download | gcc-4bd9ae5276299ad2fc2b301cadf7922886a2818a.tar.gz |
* parse.y: Remove.
* spew.c: Likewise.
* Make-lang.in (gt-cp-spew.h): Remove.
* cp-tree.h (do_pending_lang_change): Remove.
(do_identifier): Change prototype.
(finish_id_expr): Remove.
* decl.c (lookup_name_real): Remove yylex variable.
* decl2.c (build_expr_from_tree): Adjust call to do_identifier.
* lex.c (init_cpp_parse): Remove.
(reduce_cmp): Likewise.
(token_cmp): Likewise.
(yychar): Likewise.
(lastiddecl): Likewise.
(token_count): Likewise.
(reduce_count): Likewise.
(yyhook): Likewise.
(print_parse_statistics): Likewise.
(do_pending_lang_change): Likewise.
(do_identifier): Remove parsing parameter.
* lex.h (lastiddecl): Remove.
(looking_for_typename): Remove.
(looking_for_template): Likewise.
(pending_lang_change): Likewise.
(yylex): Likewise.
* semantics.c (finish_id_expr): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60642 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lex.h')
-rw-r--r-- | gcc/cp/lex.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/cp/lex.h b/gcc/cp/lex.h index ecd5861f686..5a08fd9a052 100644 --- a/gcc/cp/lex.h +++ b/gcc/cp/lex.h @@ -64,20 +64,4 @@ typedef unsigned long RID_BIT_TYPE; /* assumed at least 32 bits */ #define RIDBIT_RESET_ALL(V) do { (V) = 0; } while (0) #endif -/* the declaration found for the last IDENTIFIER token read in. - yylex must look this up to detect typedefs, which get token type TYPENAME, - so it is left around in case the identifier is not a typedef but is - used in a context which makes it a reference to a variable. */ -extern GTY(()) tree lastiddecl; - -/* Back-door communication channel to the lexer. */ -extern int looking_for_typename; -extern int looking_for_template; - -/* Pending language change. - Positive is push count, negative is pop count. */ -extern int pending_lang_change; - -extern int yylex PARAMS ((void)); - #endif /* ! GCC_CP_LEX_H */ |