* 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:
Paul Eggert
2006-01-30 09:00:40 +00:00
parent a7086c4f27
commit e2a8c0f591
3 changed files with 8 additions and 2 deletions

View File

@@ -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"