cp/parse.y:2120: invalid value: $3

Jakub Jelinek jakub@redhat.com
Mon Apr 29 17:08:00 GMT 2002


On Mon, Apr 29, 2002 at 03:08:46PM -0700, Paul Eggert wrote:
> so that (*) stores the desired value on the stack.  This will put the
> desired value into yyval so that (**) makes the stack "look right".
> Here's how to do this:
> 
> 2002-04-29  Paul Eggert  <eggert@twinsun.com>
> 
> 	* parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$,
> 	to fix a typo uncovered by CVS Bison.  Let's buy Akim Demaille
> 	a beer!

I think it is still better to avoid this dirty hack altogether:
http://gcc.gnu.org/ml/gcc-bugs/2002-04/msg01335.html

	Jakub



More information about the Gcc-bugs mailing list