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

@@ -114,14 +114,14 @@ extern int trace_flag;
enum warnings
{
warnings_none = 0, /**< Issue no warnings. */
warnings_error = 1 << 0, /**< Warnings are treated as errors. */
warnings_midrule_values = 1 << 1, /**< Unset or unused midrule values. */
warnings_yacc = 1 << 2, /**< POSIXME. */
warnings_conflicts_sr = 1 << 3, /**< S/R conflicts. */
warnings_conflicts_rr = 1 << 4, /**< R/R conflicts. */
warnings_other = 1 << 5, /**< All other warnings. */
warnings_all = ~warnings_error /**< All above warnings. */
Wnone = 0, /**< Issue no warnings. */
Werror = 1 << 0, /**< Warnings are treated as errors. */
Wmidrule_values = 1 << 1, /**< Unset or unused midrule values. */
Wyacc = 1 << 2, /**< POSIXME. */
Wconflicts_sr = 1 << 3, /**< S/R conflicts. */
Wconflicts_rr = 1 << 4, /**< R/R conflicts. */
Wother = 1 << 5, /**< All other warnings. */
Wall = ~Werror /**< All above warnings. */
};
/** What warnings are issued. */
extern int warnings_flag;