mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
warnings: rename the categories
Forthcoming changes will use the warning categories much more often, so shortening them will improve readability. * src/complain.c, src/complain.h, src/conflicts.c, * src/getargs.c, src/getargs.h, src/gram.c (enum warnings): s/warnings_/W/g.
This commit is contained in:
committed by
Akim Demaille
parent
f124616490
commit
327db05b22
@@ -309,7 +309,7 @@ grammar_rules_useless_report (const char *message)
|
||||
if (!rules[r].useful)
|
||||
{
|
||||
warn_at (rules[r].location, "%s: ", message);
|
||||
if (warnings_flag & warnings_other)
|
||||
if (warnings_flag & Wother)
|
||||
{
|
||||
rule_print (&rules[r], stderr);
|
||||
fflush (stderr);
|
||||
|
||||
Reference in New Issue
Block a user