* src/files.c (output_files): Free the output_obstack.

* src/main.c (main): Call print and print_graph conditionally.
* src/print.c (print): Work unconditionally.
* src/print_graph.c (print_graph): Work unconditionally.
* src/conflicts.c (log_resolution): Output only if verbose_flag.
This commit is contained in:
Akim Demaille
2001-12-17 17:31:10 +00:00
parent 367c7a47d4
commit 64d15509b6
6 changed files with 45 additions and 38 deletions

View File

@@ -93,10 +93,12 @@ main (int argc, char *argv[])
exit (1);
/* Output the detailed report on the grammar. */
print_results ();
if (verbose_flag)
print_results ();
/* Output the VCG graph. */
print_graph ();
if (graph_flag)
print_graph ();
/* Output the tables and the parser to ftable. In file output. */
output ();