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:
Victor Santet
2012-06-28 16:44:19 +02:00
committed by Akim Demaille
parent f124616490
commit 327db05b22
6 changed files with 36 additions and 36 deletions

View File

@@ -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);