Differences From Artifact [f06b7e98a6]:
- File tool/lempar.c — part of check-in [a9be4c2d56] at 2016-05-27 04:10:47 on branch trunk — Fix Lemon so that it actually works with -DYYSTACKDEPTH=0. (user: drh size: 31912)
To Artifact [66a16b5e00]:
- File tool/lempar.c — part of check-in [45531654f7] at 2016-06-06 13:24:57 on branch trunk — Initialize the yyerrcnt variable in the lemon parser template. This has no effect on SQLite itself. (user: drh size: 31973)
︙ | |||
336 337 338 339 340 341 342 343 344 345 346 347 348 349 | 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 | + + + | pParser->yystack = NULL; pParser->yystksz = 0; if( yyGrowStack(pParser) ){ pParser->yystack = &pParser->yystk0; pParser->yystksz = 1; } #endif #ifndef YYNOERRORRECOVERY pParser->yyerrcnt = -1; #endif pParser->yytos = pParser->yystack; pParser->yystack[0].stateno = 0; pParser->yystack[0].major = 0; } return pParser; } |
︙ |