X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/595284e9d0277517bac8f3fc7bcdd529d97aa6f9..f6b561d9f9cbc6fc95bbb86518372a5cb52f45a6:/tests/java.at diff --git a/tests/java.at b/tests/java.at index ec0f4a8e..9b48453f 100644 --- a/tests/java.at +++ b/tests/java.at @@ -751,7 +751,7 @@ AT_SETUP([Java stype, position_class and location_class]) AT_CHECK_JAVA_MINIMAL([[ %define stype "java.awt.Color" %type start; -%define location_type "MyLoc" +%define api.location.type "MyLoc" %define position_type "MyPos" %code { class MyPos {} }]], [[$$ = $1;]], [[MyPos]]) AT_CHECK([[grep 'java.awt.Color' YYParser.java]], [0], [ignore]) @@ -761,7 +761,7 @@ AT_CHECK([[$EGREP -v ' */?\*' YYParser.java | grep 'Location']], [1], [ignore]) AT_CHECK_JAVA_MINIMAL_W_LEXER([[ %define stype "java.awt.Color" %type start; -%define location_type "MyLoc" +%define api.location.type "MyLoc" %define position_type "MyPos" %code { class MyPos {} }]], [], [[return EOF;]], [], [[$$ = $1;]],