This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
cp/parser.c pending_lang_change undeclared
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Dec 2002 21:12:17 -0500
- Subject: cp/parser.c pending_lang_change undeclared
pending_lang_change is not declared in your recent patch to
parser.c. Did you intend something like the following? Or where should
it be declared?
David
Index: parser.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/parser.c,v
retrieving revision 1.7
diff -c -p -r1.7 parser.c
*** parser.c 31 Dec 2002 00:11:47 -0000 1.7
--- parser.c 31 Dec 2002 02:10:44 -0000
*************** static void
*** 6459,6464 ****
--- 6459,6466 ----
cp_parser_declaration_seq_opt (parser)
cp_parser *parser;
{
+ extern int pending_lang_change;
+
while (true)
{
cp_token *token;