X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f499b06243dfe7d6387c9413411601cd5c20dd2c..e9f87b5b7df2e328d2e4196d276c0d96594c906b:/src/main.c?ds=sidebyside diff --git a/src/main.c b/src/main.c index 28b08e18..55dca624 100644 --- a/src/main.c +++ b/src/main.c @@ -86,15 +86,15 @@ main (int argc, char *argv[]) /* Output file names. */ compute_output_file_names (); + /* Output the detailed report on the grammar. */ + if (verbose_flag) + print_results (); + /* Stop if there were errors, to avoid trashing previous output files. */ if (complain_message_count) exit (1); - /* Output the detailed report on the grammar. */ - if (verbose_flag) - print_results (); - /* Output the VCG graph. */ if (graph_flag) print_graph ();