X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c6f1a33c06db52ed122d0922885602cf37f99941..3325ddc49c7b31f2670d03d1e3b59c2636650af3:/src/main.c diff --git a/src/main.c b/src/main.c index 6b73f9eb..b59e2978 100644 --- a/src/main.c +++ b/src/main.c @@ -137,6 +137,11 @@ main (int argc, char *argv[]) tables_generate (); timevar_pop (TV_ACTIONS); + /* Lookaheads are no longer needed. */ + timevar_push (TV_FREE); + lalr_free (); + timevar_pop (TV_FREE); + /* Output the tables and the parser to ftable. In file output. */ timevar_push (TV_PARSER); output ();