X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f499b06243dfe7d6387c9413411601cd5c20dd2c..b7c49edf135cea5dc2bd0942b42d28e6c84cf71f:/src/main.c 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 ();