tests: use the generic yyerror function.
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 26 Jun 2012 09:54:13 +0000 (11:54 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 26 Jun 2012 11:55:50 +0000 (13:55 +0200)
commit8d6c1b5e85e830c31bb0421ea73de1080e5999d8
tree25883a8edb633a3d0c93883a2e4e711d3e75d261
parent77519a7d18266500754693b5e9e4b89608d6ed2c
tests: use the generic yyerror function.

* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Factor.
Use AT_YYERROR_DEFINE.
Therefore, instead of using stdout, use and check stderr.
* tests/glr-regression.at (Uninitialized location when reporting ambiguity):
Use AT_YYERROR_DEFINE.
tests/actions.at
tests/glr-regression.at