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: [EMAIL PROTECTED] [mailto:help-bison- > [EMAIL PROTECTED] On Behalf Of Hans Aberg > Sent: Saturday, October 08, 2005 12:16 PM > To: The Leals > Cc: [email protected] > 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 > > > > > _______________________________________________ > [email protected] http://lists.gnu.org/mailman/listinfo/help-bison _______________________________________________ [email protected] http://lists.gnu.org/mailman/listinfo/help-bison
