* src/output.c (output): Don't free the grammar.

* src/reader.c (grammar_free): New.
* src/main.c (main): Call it and don't free symtab here.
This commit is contained in:
Akim Demaille
2002-03-04 12:06:42 +00:00
parent 550245801e
commit 7651439487
5 changed files with 21 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
2002-03-04 Akim Demaille <akim@epita.fr>
* src/output.c (output): Don't free the grammar.
* src/reader.c (grammar_free): New.
* src/main.c (main): Call it and don't free symtab here.
2002-03-04 Akim Demaille <akim@epita.fr>
* src/lex.c (parse_percent_token): Be sure to 0-end token_buffer