Fix the `GAWK Grammar' failure.
authorAkim Demaille <akim@epita.fr>
Sat, 29 Dec 2001 14:16:59 +0000 (14:16 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 29 Dec 2001 14:16:59 +0000 (14:16 +0000)
commit610ab194c896d82708bc4c227115fd9832df6305
tree7ca63ad493e4c2c8a1d6933521e87ca0c14c1199
parent29d29c8fff612552f253342caa5fcee70b713490
Fix the `GAWK Grammar' failure.
* src/LR0.c (final_state): Initialize to -1 so that we do compute
the reductions of the first state which was mistakenly confused
with the final state because precisely final_state was initialized
to 0.
* tests/sets.at (Nullable): Adjust: state 0 does have lookaheads,
now noticed by Bison.
* tests/regression.at (Rule Line Numbers): Adjust: state 0 does
have a reduction on $default.
ChangeLog
src/LR0.c
tests/regression.at
tests/sets.at