mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 06:43:03 +00:00
fixits: fix warnings about duplicates
* src/complain.c (duplicate_directive): Fix the complaint level. * tests/input.at: Adjust.
This commit is contained in:
@@ -409,7 +409,7 @@ duplicate_directive (char const *directive,
|
||||
else
|
||||
complain_indent (&second, Wother, &i, _("duplicate directive: %s"), directive);
|
||||
i += SUB_INDENT;
|
||||
complain_indent (&first, complaint, &i, _("previous declaration"));
|
||||
complain_indent (&first, Wother, &i, _("previous declaration"));
|
||||
fixits_register (&second, "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user