X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/b09f4f48512c274a7574b6a22e4a1eac6a86fd61..5967f0cf594cf19cd596b171392cc51bbd0ee596:/src/main.c diff --git a/src/main.c b/src/main.c index d64f9219..84b2566f 100644 --- a/src/main.c +++ b/src/main.c @@ -115,6 +115,13 @@ main (int argc, char *argv[]) declarations. */ timevar_push (TV_CONFLICTS); conflicts_solve (); + { + state_number old_to_new[nstates]; + state_number nstates_old = nstates; + state_remove_unreachable_states (old_to_new); + lalr_update_state_numbers (old_to_new, nstates_old); + conflicts_update_state_numbers (old_to_new, nstates_old); + } conflicts_print (); timevar_pop (TV_CONFLICTS);