cex: don't report the items

Showing the items (with the state numbers) is really something we
should restrict to the report.

* src/counterexample.c (counterexample_report_shift_reduce)
(counterexample_report_reduce_reduce): Don't show the pointed rules,
we will do that in the report.
* tests/counterexample.at: Adjust.
This commit is contained in:
Akim Demaille
2020-06-11 08:23:42 +02:00
parent 9206b15c4e
commit 22f62414f9
2 changed files with 0 additions and 54 deletions

View File

@@ -1213,8 +1213,6 @@ counterexample_report_shift_reduce (state_item_number itm1, state_item_number it
symbol_number next_sym, FILE *out)
{
fprintf (out, _("Shift/reduce conflict on token %s:\n"), symbols[next_sym]->tag);
print_state_item (&state_items[itm1], out);
print_state_item (&state_items[itm2], out);
counterexample_report (itm1, itm2, next_sym, true, out);
}
@@ -1236,8 +1234,6 @@ counterexample_report_reduce_reduce (state_item_number itm1, state_item_number i
}
fputs (_(":\n"), out);
}
print_state_item (&state_items[itm1], out);
print_state_item (&state_items[itm2], out);
counterexample_report (itm1, itm2, bitset_first (conflict_syms), false, out);
}