help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: yyval2 problem


From: The Leals
Subject: RE: yyval2 problem
Date: Mon, 10 Oct 2005 08:12:36 -0400

Turns out I had $$2 in my bison code, which then became yyval2. I had meant
to use $2 instead. Odd that there was no error message ... 

> -----Original Message-----
> From: address@hidden [mailto:help-bison-
> address@hidden On Behalf Of Hans Aberg
> Sent: Saturday, October 08, 2005 12:16 PM
> To: The Leals
> Cc: address@hidden
> Subject: Re: yyval2 problem
> 
> What version are you using? Lastes is 2.1 or something.
> 
> 
> On 8 Oct 2005, at 18:40, The Leals wrote:
> 
> > This is a newbie question.
> >
> > In bison, when I turned on %error-verbose and compiled the resulting
> > compiler, I got the message that yyval2 was not defined.
> >
> > I'm using flex to produce yyparse, but don't see anything I need to
> > do to
> > make it define yyval2. I used bison to produce a header file for flex.
> >
> > ideas? tia, Bill
> 
> 
> 
> 
> _______________________________________________
> address@hidden http://lists.gnu.org/mailman/listinfo/help-bison






reply via email to

[Prev in Thread] Current Thread [Next in Thread]