mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23: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
@@ -601,9 +601,9 @@ conflicts_print (void)
|
||||
/* Report the total number of conflicts on STDERR. */
|
||||
if (expected_sr_conflicts == -1 && expected_rr_conflicts == -1)
|
||||
{
|
||||
if (!(warnings_flag & warnings_conflicts_sr))
|
||||
if (!(warnings_flag & Wconflicts_sr))
|
||||
src_total = 0;
|
||||
if (!(warnings_flag & warnings_conflicts_rr))
|
||||
if (!(warnings_flag & Wconflicts_rr))
|
||||
rrc_total = 0;
|
||||
}
|
||||
if (src_total | rrc_total)
|
||||
|
||||
Reference in New Issue
Block a user