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
..
2010-10-17 10:23:55 -04:00
2020-07-14 06:48:48 +02:00
2020-06-01 18:52:22 +02:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-06-27 11:39:32 +02:00
2020-05-25 07:14:34 +02:00
2020-06-22 19:33:30 +02:00
2020-06-22 19:33:30 +02:00
2020-07-14 06:48:48 +02:00
2020-06-16 07:30:26 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-06-27 11:39:32 +02:00
2020-01-10 19:16:23 +01:00
2020-06-07 09:18:58 +02:00
2020-06-07 09:18:58 +02:00
2020-06-01 18:52:22 +02:00
2020-01-10 19:16:23 +01:00
2020-06-13 15:20:56 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-06-27 11:39:32 +02:00
2020-07-11 18:43:46 +02:00
2020-07-14 06:48:48 +02:00
2020-06-13 16:58:13 +02:00
2020-04-29 08:47:04 +02:00
2020-07-14 06:48:48 +02:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-07-14 06:48:48 +02:00
2020-01-10 19:16:23 +01:00
2020-06-16 07:58:40 +02:00
2020-03-08 10:13:16 +01:00
2020-03-08 10:13:16 +01:00
2020-06-27 11:39:32 +02:00
2020-03-06 08:30:21 +01:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-06-16 07:30:46 +02:00
2020-06-28 09:49:00 +02:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-06-27 11:39:32 +02:00
2020-01-10 19:16:23 +01:00
2020-06-27 17:31:59 +02:00
2020-01-10 19:16:23 +01:00
2020-07-05 09:59:25 +02:00
2020-07-05 08:18:51 +02:00
2020-07-05 09:59:45 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-01-10 19:16:23 +01:00
2020-07-14 06:48:48 +02:00
2020-06-01 18:52:22 +02:00
2020-07-14 06:48:48 +02:00
2020-01-10 19:16:23 +01:00
2020-07-05 09:59:45 +02:00
2020-03-06 08:30:21 +01:00
2020-06-27 17:31:59 +02:00
2020-06-27 11:39:32 +02:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-06-27 08:16:07 +02:00
2008-11-15 10:47:15 +01:00
2020-07-05 09:59:45 +02:00
2020-06-13 15:20:56 +02:00
2008-11-15 10:47:15 +01:00
2020-01-10 19:16:23 +01:00
2020-06-13 16:56:40 +02:00
2008-11-15 10:47:15 +01:00
2020-01-10 19:16:23 +01:00
2020-06-13 15:20:56 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-07-14 06:48:48 +02:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-06-27 17:31:59 +02:00
2020-06-27 17:31:59 +02:00
2020-06-13 16:58:13 +02:00
2020-07-14 06:48:48 +02:00
2020-01-10 19:16:23 +01:00
2020-05-22 08:45:43 +02:00
2020-01-10 19:16:23 +01:00
2019-01-12 10:45:21 +01:00