X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/602bbf31c1fbb83a0e1703e35e33e1e8dc9b0fd2..fd6748e22ce9471aad7d2b569aa23202af2c2dd8:/src/main.c diff --git a/src/main.c b/src/main.c index caa451d3..5d70fa48 100644 --- a/src/main.c +++ b/src/main.c @@ -50,6 +50,8 @@ main (int argc, char *argv[]) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); + bitset_stats_init (); + lineno = 0; getargs (argc, argv); @@ -103,13 +105,11 @@ main (int argc, char *argv[]) /* Output the tables and the parser to ftable. In file output. */ output (); - /* Free the symbol table data structure. */ - free_symtab (); - reduce_free (); free_conflicts (); free_nullable (); free_derives (); + grammar_free (); /* If using alloca.c, flush the alloca'ed memory for the benefit of people running Bison as a library in IDEs. */