mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
lalr: offer more flexibility in debugging routines
* src/state.h, src/state.c (state_transitions_print): New, extracted from... (state_transitions_set): here.
This commit is contained in:
@@ -236,6 +236,9 @@ state *state_new_isocore (state const *s);
|
||||
/* Record that from S we can reach all the DST states (NUM of them). */
|
||||
void state_transitions_set (state *s, int num, state **dst);
|
||||
|
||||
/* Print the transitions of state s for debug. */
|
||||
void state_transitions_print (const state *s, FILE *out);
|
||||
|
||||
/* Set the reductions of STATE. */
|
||||
void state_reductions_set (state *s, int num, rule **reds);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user