Files
bison/tests
Akim Demaille 4f9ae5de07 cex: display shifts before reductions
When reporting counterexamples for s/r conflicts, put the shift first.
This is more natural, and displays the default resolution first, which
is also what happens for r/r conflicts where the smallest rule number
is displayed first, and "wins".

* src/counterexample.c (counterexample): Add a shift_reduce member.
(new_counterexample): Adjust.
Swap the derivations when this is a s/r conflict.
(print_counterexample): For s/r conflicts, prefer "Shift derivation"
and "Reduce derivation" rather than "First/Second derivation".

* tests/conflicts.at, tests/counterexample.at, tests/report.at: Adjust.
* NEWS, doc/bison.texi: Ditto.
2020-07-14 06:48:48 +02:00
..
2019-02-21 06:46:07 +01:00
2020-01-10 19:16:23 +01:00
2020-06-29 06:45:44 +02:00
2020-01-10 19:16:23 +01:00
2020-06-28 09:49:00 +02:00
2020-05-02 09:27:16 +02:00
2020-01-10 19:16:23 +01:00
2020-05-21 20:14:59 +02:00
2020-07-03 06:51:57 +02:00
2020-01-10 19:16:23 +01:00
2020-04-13 16:49:54 +02:00
2020-06-27 11:39:32 +02:00
2020-01-10 19:16:23 +01:00
2020-05-22 07:52:27 +02:00
2019-11-03 10:32:22 +01:00