This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[C++ Patch]: Fix PR/2221


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			*/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]