From: Richard M. Stallman Date: Sun, 15 Oct 1995 20:18:29 +0000 (+0000) Subject: (reduce_grammar): Revise error message. X-Git-Tag: GNU_ORIG~44 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/d129c2c0e7e9cc0abfc11933ff40fcfd016fd35a?ds=inline (reduce_grammar): Revise error message. (print_notices): Remove final `.' from error message. --- diff --git a/src/reduce.c b/src/reduce.c index ba9e1778..13e62ca3 100644 --- a/src/reduce.c +++ b/src/reduce.c @@ -138,7 +138,7 @@ reduce_grammar () print_notices(); if (!BITISSET(N, start_symbol - ntokens)) - fatals("Start symbol %s does not derive any sentence.", + fatals("Start symbol %s does not derive any sentence", tags[start_symbol]); reduce_grammar_tables(); @@ -593,6 +593,6 @@ print_notices () nuseless_productions, (nuseless_productions == 1 ? "" : "s")); } - fprintf(stderr, ".\n"); + fprintf(stderr, "\n"); fflush(stderr); }