Lemon update 2015-09-07 20:02:39 on branch lemon-update

- Fix an unreachable branch in the new parse automaton. (user: drh)
This commit is contained in:
Randy Heit 2016-03-20 12:04:21 -05:00
parent fd3507c4c3
commit 123db1926c

View file

@ -406,10 +406,9 @@ static int yy_find_shift_action(
int stateno = pParser->yystack[pParser->yyidx].stateno;
if( stateno>=YY_MIN_REDUCE ) return stateno;
if( stateno>YY_SHIFT_COUNT
|| (i = yy_shift_ofst[stateno])==YY_SHIFT_USE_DFLT ){
return yy_default[stateno];
}
assert( stateno <= YY_SHIFT_COUNT );
i = yy_shift_ofst[stateno];
if( i==YY_SHIFT_USE_DFLT ) return yy_default[stateno];
assert( iLookAhead!=YYNOCODE );
i += iLookAhead;
if( i<0 || i>=YY_ACTTAB_COUNT || yy_lookahead[i]!=iLookAhead ){