This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cp/parse.y:2120: invalid value: $3
- From: Nathan Sidwell <nathan at acm dot org>
- To: Akim Demaille <akim at epita dot fr>
- Cc: bug-gcc at gnu dot org, Bison Bugs <bug-bison at gnu dot org>, Paul Eggert <eggert at twinsun dot com>, mark at codesourcery dot com
- Date: Mon, 29 Apr 2002 20:44:51 +0100
- Subject: Re: cp/parse.y:2120: invalid value: $3
- References: <mv4it6fls5j.fsf@nostromo.lrde.epita.fr> <mv4heluitf3.fsf@nostromo.lrde.epita.fr>
- Reply-to: nathan at compsci dot bristol dot ac dot uk
Akim Demaille wrote:
>
> Hi!
>
> A recent fix in CVS Bison results in its refusing the current G++
> grammar. It chokes on the following snippet (CVS gcc/cp/parse.y,
> around line 2117):
>
> | nomods_initdcl0:
> | notype_declarator maybeasm
> | { /* Set things up as initdcl0_innards expects. */
> | ===> $<ttype>3 = $2;
there are lots of places (55 to be precise) in parse.y which say
$<ttype>N. Is this the only wrong one?
Or are you using it as an example? FYI, we're about to release 3.1
so this is fixable if we're (a) very sure and (b) very quick
[Mark, the url you need is
http://gcc.gnu.org/ml/gcc-bugs/2002-04/msg01690.html]
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
The voices in my head told me to say this
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk