mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43: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:
@@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2006-01-29 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
* tests/input.at (AT_CHECK_UNUSED_VALUES): Remove. Instead, do
|
* tests/input.at (AT_CHECK_UNUSED_VALUES): Remove. Instead, do
|
||||||
|
|||||||
@@ -287,7 +287,7 @@ grammar_declaration:
|
|||||||
{
|
{
|
||||||
symbol_list *list;
|
symbol_list *list;
|
||||||
for (list = $2; list; list = list->next)
|
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);
|
symbol_list_free ($2);
|
||||||
}
|
}
|
||||||
| "%default-prec"
|
| "%default-prec"
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ AT_CHECK([bison input.y], [1], [],
|
|||||||
input.y:3.7-11: first declaration
|
input.y:3.7-11: first declaration
|
||||||
input.y:10.13-17: %destructor redeclaration for foo
|
input.y:10.13-17: %destructor redeclaration for foo
|
||||||
input.y:5.13-17: first declaration
|
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:10.13-17: first declaration
|
||||||
input.y:11.1-5: %left redeclaration for foo
|
input.y:11.1-5: %left redeclaration for foo
|
||||||
input.y:6.1-5: first declaration
|
input.y:6.1-5: first declaration
|
||||||
|
|||||||
Reference in New Issue
Block a user