From cb7db13e45ec65cda920b9b5b2519bed663d5b38 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 31 Mar 2000 14:37:10 +0000 Subject: [PATCH] * src/main.c (main): Don't call `done', exit does it. --- ChangeLog | 4 ++++ src/main.c | 1 - src/reduce.c | 13 +++++++------ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index f42aff00..78a94bfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-03-31 Akim Demaille + + * src/main.c (main): Don't call `done', exit does it. + 2000-03-31 Akim Demaille * allocate.c: s/return (foo)/return foo/. diff --git a/src/main.c b/src/main.c index 850076b8..2cf2a936 100644 --- a/src/main.c +++ b/src/main.c @@ -104,7 +104,6 @@ main (int argc, char *argv[]) /* output the tables and the parser to ftable. In file output. */ output(); - done (); exit (complain_message_count ? 1 : 0); } diff --git a/src/reduce.c b/src/reduce.c index 3259a912..8bdabecc 100644 --- a/src/reduce.c +++ b/src/reduce.c @@ -142,12 +142,13 @@ reduce_grammar (void) tags[start_symbol]); reduce_grammar_tables(); - /* if (verboseflag) { - fprintf(foutput, "REDUCED GRAMMAR\n\n"); - dump_grammar(); - } - */ - + /* + if (verboseflag) + { + fprintf(foutput, "REDUCED GRAMMAR\n\n"); + dump_grammar(); + } + */ /**/ statisticsflag = FALSE; /* someday getopts should handle this */ if (statisticsflag == TRUE) fprintf(stderr, -- 2.45.2