[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] tests: fix push-pull test
From: |
Akim Demaille |
Subject: |
[PATCH 2/3] tests: fix push-pull test |
Date: |
Fri, 31 Aug 2012 17:54:03 +0200 |
* tests/torture.at: %push-pull-parser is no longer supported.
---
tests/torture.at | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/torture.at b/tests/torture.at
index 338c164..414abac 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -427,20 +427,20 @@ main (int argc, const char **argv)
{
int count;
int status;
-]m4_bmatch([$2], [%push-],
+]m4_bmatch([$2], [api.push-pull both],
[[ yypstate *ps = yypstate_new ();
]])[ for (count = 0; count < 2; ++count)
{
int new_status;
yylval = yylval_init;
-]m4_bmatch([$2], [%push-],
+]m4_bmatch([$2], [api.push-pull both],
[[ new_status = yypull_parse (ps);
]],
[[ new_status = yyparse ();
]])[ assert (0 <= count || new_status == status);
status = new_status;
}
-]m4_bmatch([$2], [%push-],
+]m4_bmatch([$2], [api.push-pull both],
[[ yypstate_delete (ps);
]])[ return status;
}
--
1.7.11.5