mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix the Lemon-generated parser so that it compiles with -DYYSTACKDEPTH=0.
It does compile now, but there are subtle issues still. FossilOrigin-Name: 28d439f816d2fa5263e1c4ddecf3bf1ac2dd6549
This commit is contained in:
@ -582,7 +582,7 @@ static void yy_shift(
|
||||
#else
|
||||
if( yypParser->yytos>=&yypParser->yystack[yypParser->yystksz] ){
|
||||
yyGrowStack(yypParser);
|
||||
if( yypParser->yytos>=&yypParser->yystach[yypParser->yystksz] ){
|
||||
if( yypParser->yytos>=&yypParser->yystack[yypParser->yystksz] ){
|
||||
yyStackOverflow(yypParser);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user