]> git.saurik.com Git - bison.git/commit - src/output.c
Don't store the token defs in a muscle, just be ready to output it
authorAkim Demaille <akim@epita.fr>
Sat, 29 Dec 2001 14:25:27 +0000 (14:25 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 29 Dec 2001 14:25:27 +0000 (14:25 +0000)
commit091e20bbee87fc6e5b1e9e2938767c6e89b19035
tree71b9885ea8be240c99fb80560e258aab91bb0baf
parentcce7171088417e4fd9b38224a8ab12b0769e4fb2
Don't store the token defs in a muscle, just be ready to output it
on command.  Now possible via `symbols'.  Fixes a memory leak.
* src/output.c (token_definitions_output): New.
(output_parser, header_output): Use it.
* src/reader.c (symbols_save): Remove.
ChangeLog
src/muscle_tab.c
src/output.c
src/reader.c