This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[C++ Patch]: Fix PR/2221
- To: gcc-patches at gcc dot gnu dot org
- Subject: [C++ Patch]: Fix PR/2221
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Fri, 9 Mar 2001 19:32:45 +0000
This fixes David's PR 2221 about a duplicate symbol. It is defined
in c-lex.c too.
I've bootstrapped both head and branch with this. OK for both?
Neil.
* cp/lex.c: Delete duplicate pending_lang_change.
Index: gcc/cp/lex.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/lex.c,v
retrieving revision 1.237
diff -u -p -r1.237 lex.c
--- lex.c 2001/02/12 09:58:18 1.237
+++ lex.c 2001/03/09 19:23:31
@@ -84,10 +84,6 @@ static void init_operators PARAMS ((void
#include "cpplib.h"
-/* Pending language change.
- Positive is push count, negative is pop count. */
-int pending_lang_change = 0;
-
extern int yychar; /* the lookahead symbol */
extern YYSTYPE yylval; /* the semantic value of the */
/* lookahead symbol */