X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1a2b5d37e1d44b47cd51220945f4ba29c228a419..e9f87b5b7df2e328d2e4196d276c0d96594c906b:/src/print.c diff --git a/src/print.c b/src/print.c index 5a417d32..72b4cd0a 100644 --- a/src/print.c +++ b/src/print.c @@ -122,7 +122,7 @@ print_shifts (FILE *out, state_t *state) if (!SHIFT_IS_DISABLED (shiftp, i)) { int state1 = shiftp->shifts[i]; - int symbol = state_table[state1]->accessing_symbol; + int symbol = states[state1]->accessing_symbol; fprintf (out, _(" %-4s\tshift, and go to state %d\n"), escape (symbols[symbol]->tag), state1); @@ -164,7 +164,7 @@ print_gotos (FILE *out, state_t *state) if (!SHIFT_IS_DISABLED (shiftp, i)) { int state1 = shiftp->shifts[i]; - int symbol = state_table[state1]->accessing_symbol; + int symbol = states[state1]->accessing_symbol; fprintf (out, _(" %-4s\tgo to state %d\n"), escape (symbols[symbol]->tag), state1); } @@ -501,7 +501,7 @@ print_results (void) shiftset = XCALLOC (unsigned, tokensetsize); lookaheadset = XCALLOC (unsigned, tokensetsize); for (i = 0; i < nstates; i++) - print_state (out, state_table[i]); + print_state (out, states[i]); free (shiftset); free (lookaheadset); if (trace_flag)