mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +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();
|
print_notices();
|
||||||
|
|
||||||
if (!BITISSET(N, start_symbol - ntokens))
|
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]);
|
tags[start_symbol]);
|
||||||
|
|
||||||
reduce_grammar_tables();
|
reduce_grammar_tables();
|
||||||
@@ -593,6 +593,6 @@ print_notices ()
|
|||||||
nuseless_productions,
|
nuseless_productions,
|
||||||
(nuseless_productions == 1 ? "" : "s"));
|
(nuseless_productions == 1 ? "" : "s"));
|
||||||
}
|
}
|
||||||
fprintf(stderr, ".\n");
|
fprintf(stderr, "\n");
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user