* src/files.c (action_obstack): Remove, unused.

(output_obstack): Remove it, and all its dependencies, as it is no
longer needed.
* src/reader.c (epilogue_set): Build the epilogue in the
muscle_obstack.
* src/output.h, src/output.c (muscle_obstack): Move to...
* src/muscle_tab.h, src/muscle_tab.h: here.
(muscle_init): Initialize muscle_obstack.
(muscle_free): New.
* src/main.c (main): Call it.
This commit is contained in:
Akim Demaille
2002-06-14 17:36:24 +00:00
parent 0c15323de7
commit 592e8d4d01
10 changed files with 55 additions and 35 deletions

View File

@@ -503,13 +503,6 @@ print_results (void)
that conflicts with Posix. */
FILE *out = xfopen (spec_verbose_file, "w");
size_t size = obstack_object_size (&output_obstack);
fwrite (obstack_finish (&output_obstack), 1, size, out);
obstack_free (&output_obstack, NULL);
if (size)
fputs ("\n\n", out);
reduce_output (out);
conflicts_output (out);