[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SV: Re: extended basic grammar problem
Hi,
I found it. It was the CLS statement. Damn typo! :-)
Thanks a lot!
--
Paul Rene
> From: Patrick LAM [plam@sable.mcgill.ca]
> Sent: 2004-01-14 18:27:28 CET
> To: paul-rene.jorgensen@telenor.com
> Cc: sablecc-list@sable.mcgill.ca
> Subject: Re: extended basic grammar problem
>
>
>
> On Wed, 14 Jan 2004 paul-rene.jorgensen@telenor.com wrote:
>
> > Hi,
> >
> > I have this shift/reduce conflict that I have trouble fixing. Any of you that can see how I can avoid this?
> >
> > shift/reduce conflict in state [stack: XTNewLine *] on TNewLine in {
> > [ PStatement = * ] followed by TNewLine (reduce),
> > [ XTNewLine = XTNewLine * TNewLine ] (shift)
> > }
>
> This means that one of the alternatives for statement allows the empty
> string. You need to remove that possibility. i tried to look for the
> offending statement, but haven't succeeded yet.
>
> pat
>
>