Skip to content

Commit

Permalink
Fix to the error handling logic in the Lemon parser template. This does
Browse files Browse the repository at this point in the history
not affect SQLite since SQLite does not use that part of the Lemon parser
template.
  • Loading branch information
D. Richard Hipp committed Nov 27, 2018
1 parent c566a6b commit 6c7251e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tool/lempar.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,10 +987,9 @@ void Parse(
yymajor = YYNOCODE;
}else{
while( yypParser->yytos >= yypParser->yystack
&& yymx != YYERRORSYMBOL
&& (yyact = yy_find_reduce_action(
yypParser->yytos->stateno,
YYERRORSYMBOL)) >= YY_MIN_REDUCE
YYERRORSYMBOL)) > YY_MAX_SHIFTREDUCE
){
yy_pop_parser_stack(yypParser);
}
Expand Down

0 comments on commit 6c7251e

Please sign in to comment.