From: Akim Demaille Date: Fri, 31 Mar 2000 14:37:10 +0000 (+0000) Subject: * src/main.c (main): Don't call `done', exit does it. X-Git-Tag: BISON-1_28b~146 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb7db13e45ec65cda920b9b5b2519bed663d5b38;p=platform%2Fupstream%2Fbison.git * src/main.c (main): Don't call `done', exit does it. --- diff --git a/ChangeLog b/ChangeLog index f42aff0..78a94bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 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/. * lalr.c: Likewise. * LR0.c: Likewise. diff --git a/src/main.c b/src/main.c index 850076b..2cf2a93 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 3259a91..8bdabec 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,