mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
c++: fix warning message for automove
* src/scan-code.l: Remove 'enabled'. Use only $k (numeric), even for named references, for clarity. * tests/c++.at: Adjust expectations.
This commit is contained in:
@@ -681,8 +681,8 @@ handle_action_dollar (symbol_list *rule, char *text, location dollar_loc)
|
||||
if (muscle_percent_define_ifdef ("api.value.automove")
|
||||
&& sym->action_props.is_value_used)
|
||||
complain (&dollar_loc, Wother,
|
||||
_("multiple occurrences of $%s with api.value.automove enabled"),
|
||||
cp);
|
||||
_("multiple occurrences of $%d with api.value.automove"),
|
||||
n);
|
||||
sym->action_props.is_value_used = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user