X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ea9e670d728ac659e139434de31ea9306ecdd117..bc6038978f5fdd2c25bb30cc678811a26ad5a444:/tests/input.at?ds=sidebyside diff --git a/tests/input.at b/tests/input.at index a5d8d92b..50af0a86 100644 --- a/tests/input.at +++ b/tests/input.at @@ -1336,7 +1336,7 @@ AT_DATA([[input.y]], start: ; ]]) AT_BISON_CHECK([[input.y]], [1], [], -[[input.y:1.9-21: warning: deprecated %define variable name: 'api.push_pull', use 'api.push-pull' [-Wdeprecated] +[[input.y:1.9-21: warning: deprecated directive: '%define api.push_pull neither', use '%define api.push-pull neither' [-Wdeprecated] input.y:1.9-21: error: invalid value for %define variable 'api.push-pull': 'neither' input.y:1.9-21: accepted value: 'pull' input.y:1.9-21: accepted value: 'push' @@ -1344,7 +1344,7 @@ input.y:1.9-21: accepted value: 'both' ]]) AT_BISON_CHECK([[-fcaret input.y]], [1], [], -[[input.y:1.9-21: warning: deprecated %define variable name: 'api.push_pull', use 'api.push-pull' [-Wdeprecated] +[[input.y:1.9-21: warning: deprecated directive, use '%define api.push-pull neither' [-Wdeprecated] %define api.push_pull "neither" ^^^^^^^^^^^^^ input.y:1.9-21: error: invalid value for %define variable 'api.push-pull': 'neither' @@ -1361,7 +1361,7 @@ AT_DATA([[input.y]], start: ; ]]) AT_BISON_CHECK([[input.y]], [1], [], -[[input.y:1.9-34: warning: deprecated %define variable name: 'lr.keep_unreachable_states', use 'lr.keep-unreachable-state' [-Wdeprecated] +[[input.y:1.9-34: warning: deprecated directive: '%define lr.keep_unreachable_states maybe', use '%define lr.keep-unreachable-state maybe' [-Wdeprecated] input.y:1.9-34: error: invalid value for %define Boolean variable 'lr.keep-unreachable-state' ]]) @@ -1372,7 +1372,7 @@ AT_DATA([[input.y]], start: ; ]]) AT_BISON_CHECK([[input.y]], [1], [], -[[input.y:1.9-17: warning: deprecated %define variable name: 'namespace', use 'api.namespace' [-Wdeprecated] +[[input.y:1.9-17: warning: deprecated directive: '%define namespace foo', use '%define api.namespace foo' [-Wdeprecated] input.y:2.9-21: error: %define variable 'api.namespace' redefined input.y:1.9-17: previous definition ]])