On 4/15/15, Neo Anderson <neo_in_matrix at msn.com> wrote: > I am utilizing lemon in one of my Apple Store Apps. My parser works fine > with the 'old' lempar.c found in source tree TRUNK/tool/.<br><br>I also > found a newer version in TRUNK/src, but when I compile myparser.c generated > using this lempar.c, I got compilation errors:<br><br>test.c:376:7: error: > use of undeclared identifier 'NEVER'<br> if( > NEVER(pParser->yyidx<0) ) return 0;<br><br>How can I solve this error? > BTW, does this newer lempar.c benefit my parser more than the old one?<br> >
Use the one in tool/lempar.c. The template in src/lempar.c contains SQLite-specific modifications. https://www.sqlite.org/src/fdiff?sbs=1&v1=01ca97f8&v2=7274c97 -- D. Richard Hipp drh at sqlite.org