mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
fixits: handle per-rule duplicates
* src/complain.c (duplicate_rule_directive): Here. * tests/actions.at (Invalid uses of %empty): Check it.
This commit is contained in:
@@ -421,4 +421,5 @@ duplicate_rule_directive (char const *directive,
|
||||
complain_indent (&second, complaint, &i, _("only one %s allowed per rule"), directive);
|
||||
i += SUB_INDENT;
|
||||
complain_indent (&first, complaint, &i, _("previous declaration"));
|
||||
fixits_register (&second, "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user