]> git.saurik.com Git - bison.git/commitdiff
tests: fix push-pull test
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 22 Aug 2012 11:48:55 +0000 (13:48 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 31 Aug 2012 15:50:43 +0000 (17:50 +0200)
* tests/torture.at: %push-pull-parser is no longer supported.

tests/torture.at

index 338c1648e9453e5549a89f1917ba8532e3667dc6..414abacaa238e75e7d1e4fbc4a6e4e75101d3923 100644 (file)
@@ -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;
   }