tests: calc: simplify location management.

* tests/local.at (AT_LOC_PUSHDEF, AT_LOC_POPDEF): New.
	(_AT_BISON_OPTION_PUSHDEFS, AT_BISON_OPTION_POPDEFS): Use them to
	define the appropriate AT_LOC accessors.
	* tests/calc.at: Use AT_LOC accessors.

(cherry picked from commit 4f756f887b)

Conflicts:

	tests/local.at
This commit is contained in:
Akim Demaille
2010-04-13 23:04:03 +02:00
parent cacfdef716
commit ed228e60b2
3 changed files with 52 additions and 25 deletions

View File

@@ -1,3 +1,11 @@
2010-04-13 Akim Demaille <demaille@gostai.com>
tests: calc: simplify location management.
* tests/local.at (AT_LOC_PUSHDEF, AT_LOC_POPDEF): New.
(_AT_BISON_OPTION_PUSHDEFS, AT_BISON_OPTION_POPDEFS): Use them to
define the appropriate AT_LOC accessors.
* tests/calc.at: Use AT_LOC accessors.
2010-04-13 Akim Demaille <demaille@gostai.com>
test location_type.