X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c373bf8bb8da68ed12b1e73aaa2d777f6c701e46..798096e1deaeb13a06e62de5c73487537e220e3c:/tests/push.at?ds=sidebyside diff --git a/tests/push.at b/tests/push.at index a3222382..53b20b7d 100644 --- a/tests/push.at +++ b/tests/push.at @@ -33,7 +33,7 @@ AT_DATA_GRAMMAR([[input.y]], void yyerror (char const *msg); %} -%pure-parser %define api.push_pull "push" +%define api.pure %define api.push_pull "push" %% @@ -71,7 +71,7 @@ main (void) } ]]) -AT_CHECK([[bison -o input.c input.y]]) +AT_BISON_CHECK([[-o input.c input.y]]) AT_COMPILE([[input]]) AT_PARSER_CHECK([[./input]]) @@ -135,7 +135,7 @@ main (void) } ]]) -AT_CHECK([[bison -o input.c input.y]]) +AT_BISON_CHECK([[-o input.c input.y]]) AT_COMPILE([[input]]) AT_PARSER_CHECK([[./input]], 0, [], [[cannot allocate multiple impure push-parser instances @@ -163,7 +163,7 @@ AT_DATA([[input.y]], start: ; ]]) -AT_CHECK([[bison input.y]], [0], [], +AT_BISON_CHECK([[input.y]], [0], [], [[input.y:2.9-21: warning: %define variable `api.push_pull' is not used ]])