On 05/07/2016 17:15, Richard Hipp wrote:
On 7/5/16, Nick Wellnhofer <wellnho...@aevum.de> wrote:
No, this doesn't fix my problem. The check-in only changes the "#ifdef
YYERRORSYMBOL" branch which I don't define. But if I add the change to the
"YYERRORSYMBOL is not defined" branch as well, everything works as
expected.

Can you show me your patch, please?

Here it is.

Nick

diff --git a/lemon/lempar.c b/lemon/lempar.c
index 112d0bd..25a9525 100644
--- a/lemon/lempar.c
+++ b/lemon/lempar.c
@@ -919,6 +919,7 @@ void Parse(
       if( yyendofinput ){
         yy_parse_failed(yypParser);
       }
+      yypParser->yyerrcnt = -1;
       yymajor = YYNOCODE;
 #endif
     }
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to