symbol is @1, not list->location.
* tests/input.at (Incompatible Aliases): Adjust to above change.
+2006-01-30 Paul Eggert <eggert@cs.ucla.edu>
+
+ * src/parse-gram.y (grammar_declaration): Location of printer
+ symbol is @1, not list->location. Bug reported by twlevo.
+ * tests/input.at (Incompatible Aliases): Adjust to above change.
+
2006-01-29 Paul Eggert <eggert@cs.ucla.edu>
* tests/input.at (AT_CHECK_UNUSED_VALUES): Remove. Instead, do
2006-01-29 Paul Eggert <eggert@cs.ucla.edu>
* tests/input.at (AT_CHECK_UNUSED_VALUES): Remove. Instead, do
{
symbol_list *list;
for (list = $2; list; list = list->next)
{
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"
symbol_list_free ($2);
}
| "%default-prec"
input.y:3.7-11: first declaration
input.y:10.13-17: %destructor redeclaration for foo
input.y:5.13-17: first declaration
input.y:3.7-11: first declaration
input.y:10.13-17: %destructor redeclaration for foo
input.y:5.13-17: first declaration
-input.y:9.19-23: %printer redeclaration for foo
+input.y:9.10-14: %printer redeclaration for foo
input.y:10.13-17: first declaration
input.y:11.1-5: %left redeclaration for foo
input.y:6.1-5: first declaration
input.y:10.13-17: first declaration
input.y:11.1-5: %left redeclaration for foo
input.y:6.1-5: first declaration