mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
cex: add an argument to the reporting functions to specify the stream
* src/conflicts.c (find_state_item_number, report_state_counterexamples): Move to... * src/counterexample.h, src/counterexample.c (find_state_item_number) (counterexample_report_state): this. Add support for `out` as an argument. (counterexample_report_reduce_reduce, counterexample_report_shift_reduce): Accept an `out` argument, and be static.
This commit is contained in:
@@ -25,11 +25,6 @@
|
||||
void counterexample_init (void);
|
||||
void counterexample_free (void);
|
||||
|
||||
void counterexample_report_shift_reduce (state_item_number itm1,
|
||||
state_item_number itm2,
|
||||
symbol_number next_sym);
|
||||
void counterexample_report_state (const state *s, FILE *out);
|
||||
|
||||
void counterexample_report_reduce_reduce (state_item_number itm1,
|
||||
state_item_number itm2,
|
||||
bitset conflict_syms);
|
||||
#endif /* COUNTEREXAMPLE_H */
|
||||
|
||||
Reference in New Issue
Block a user