Hello,
I hope this is right place to report Lemon issues. I ran into a problem after
upgrading to the latest version of the Lemon source code from `trunk`.
The following commit removed the initialization of `yyerrcnt` from the `Parse`
function:
http://www.sqlite.org/src/fdiff?sbs=1&v1=872383ebf36c13fd&v2=8569dd3e4c22831e
Then this commit added the initialization to `ParseAlloc`:
http://www.sqlite.org/src/fdiff?sbs=1&v1=f06b7e98a6b7efb4&v2=66a16b5e00fefff2
I'd like to use a parser instance for multiple inputs without reallocating. If
I parse input that causes a syntax error, the error is reported for the first
time. But subsequent errors aren't reported anymore. I presume this is because
`yyerrcnt` should be reset to -1 somewhere in the code.
Nick
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users