mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
(reduce_grammar): Revise error message.
(print_notices): Remove final `.' from error message.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user