"Garrett Rooney" <[EMAIL PROTECTED]> wrote:
> I've been using lemon as the parser generator for ETL
> (http://etl.i-want-a-pony.com/) an open source C based template
> language, and we've been running into some problems with recent
> versions.  The first problem is in revision 1.17 of lempar.c.  You
> removed an if( yymajor==0 ) return; from Parse, which appears to be
> necessary for the final Parse(pParser, 0, sToken) line in the lemon
> examples (from http://www.hwaci.com/sw/lemon/lemon.html), which we've
> been following in ETL.  Putting that line back keeps things from
> segfaulting.  If it's more correct to not have that final Parse call I
> can simply remove it, but for now I've been sticking with the
> documentation.

The EOF token is necessary.  But I think Lemon is correct as
stands - as far as I can tell.  Can you please tell me more about
the circumstances of your segfault - specifically where it is
happening.

--
D. Richard Hipp   <[EMAIL PROTECTED]>

Reply via email to