mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* src/main.c (main): Invoke scanner_free.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-06-14 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* src/main.c (main): Invoke scanner_free.
|
||||||
|
|
||||||
|
|
||||||
2002-06-14 Akim Demaille <akim@epita.fr>
|
2002-06-14 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* src/output.c (m4_invoke): Extracted from...
|
* src/output.c (m4_invoke): Extracted from...
|
||||||
|
|||||||
@@ -110,6 +110,10 @@ main (int argc, char *argv[])
|
|||||||
free_nullable ();
|
free_nullable ();
|
||||||
free_derives ();
|
free_derives ();
|
||||||
grammar_free ();
|
grammar_free ();
|
||||||
|
|
||||||
|
/* The scanner memory cannot be released right after parsing, as it
|
||||||
|
contains things such as user actions, prologue, epilogue etc. */
|
||||||
|
scanner_free ();
|
||||||
muscle_free ();
|
muscle_free ();
|
||||||
/* If using alloca.c, flush the alloca'ed memory for the benefit of
|
/* If using alloca.c, flush the alloca'ed memory for the benefit of
|
||||||
people running Bison as a library in IDEs. */
|
people running Bison as a library in IDEs. */
|
||||||
|
|||||||
Reference in New Issue
Block a user