cex: fix crash from zombie result

Fixes the SEGV in test 247 (counterexample.at:195): "S/R after first
token".

* src/counterexample.c: here.
* tests/counterexample.at: Fix expectations.
This commit is contained in:
Vincent Imbimbo
2020-05-16 11:32:29 -04:00
committed by Akim Demaille
parent 93c849ef0d
commit 66283fb625
2 changed files with 16 additions and 6 deletions

View File

@@ -222,8 +222,8 @@ Shift-Reduce Conflict:
10: 8 x: X .
10: 9 xx: X . X
On Symbol: X
First Example X • X
First derivation t ::=[ x ::=[ X • ] X ]
First Example X • X xy
First derivation a ::=[ x ::=[ X • ] t ::=[ X xy ] ]
Second Example A X • X
Second derivation a ::=[ t ::=[ A xx ::=[ X • X ] ] ]