This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7051: gcc/cp/parse.y & gcc/cp/decl.h: Conflict on TYPENAME + Yacc types clashes
- From: Akim Demaille <akim at epita dot fr>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 20 Jun 2002 10:46:06 -0000
- Subject: Re: c++/7051: gcc/cp/parse.y & gcc/cp/decl.h: Conflict on TYPENAME + Yacc types clashes
- Reply-to: Akim Demaille <akim at epita dot fr>
The following reply was made to PR c++/7051; it has been noted by GNATS.
From: Akim Demaille <akim@epita.fr>
To: gcc-gnats@gcc.gnu.org
Cc: nobody@gcc.gnu.org
Subject: Re: c++/7051: gcc/cp/parse.y & gcc/cp/decl.h: Conflict on TYPENAME + Yacc types clashes
Date: 20 Jun 2002 12:45:29 +0200
| >Category: c++
| >Responsible: unassigned
| >Synopsis: gcc/cp/parse.y & gcc/cp/decl.h: Conflict on TYPENAME + Yacc types clashes
| >Arrival-Date: Mon Jun 17 02:46:02 PDT 2002
This can be closed, fixed by:
2002-06-19 Akim Demaille <akim@epita.fr>
* parse.y (TYPENAME): Rename as tTYPENAME to avoid the clash with
decl.h's TYPENAME.
* spew.c, lex.c: Adjust.
* parse.y (explicit_instantiation): Add empty action to override
the default $$ = $1 where it introduces a type clash.