mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
* src/parse-gram.y (grammar_declaration): Location of printer
symbol is @1, not list->location. * tests/input.at (Incompatible Aliases): Adjust to above change.
This commit is contained in:
@@ -287,7 +287,7 @@ grammar_declaration:
|
||||
{
|
||||
symbol_list *list;
|
||||
for (list = $2; list; list = list->next)
|
||||
symbol_printer_set (list->sym, $1, list->location);
|
||||
symbol_printer_set (list->sym, $1, @1);
|
||||
symbol_list_free ($2);
|
||||
}
|
||||
| "%default-prec"
|
||||
|
||||
Reference in New Issue
Block a user