X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9874f80b2e813a8ad8e5562dbbaa30ecafd5e7d8..abf3f74b216c0ef4a5195ae1a5ebb7123b672387:/tests/input.at diff --git a/tests/input.at b/tests/input.at index 8bd3ba42..27fe4e78 100644 --- a/tests/input.at +++ b/tests/input.at @@ -837,10 +837,10 @@ AT_DATA([input-c.y], start: ; ]]) AT_BISON_CHECK([[input-c.y]], [[1]], [], -[[input-c.y:1.7: %code qualifier `q' is not used -input-c.y:2.7-9: %code qualifier `bad' is not used -input-c.y:3.7-9: %code qualifier `bad' is not used -input-c.y:4.7-12: %code qualifier `format' is not used +[[input-c.y:1.7: %code qualifier 'q' is not used +input-c.y:2.7-9: %code qualifier 'bad' is not used +input-c.y:3.7-9: %code qualifier 'bad' is not used +input-c.y:4.7-12: %code qualifier 'format' is not used ]]) AT_DATA([input-c-glr.y], @@ -851,9 +851,9 @@ AT_DATA([input-c-glr.y], start: ; ]]) AT_BISON_CHECK([[input-c-glr.y]], [[1]], [], -[[input-c-glr.y:1.7: %code qualifier `q' is not used -input-c-glr.y:2.7-9: %code qualifier `bad' is not used -input-c-glr.y:3.8-10: %code qualifier `bad' is not used +[[input-c-glr.y:1.7: %code qualifier 'q' is not used +input-c-glr.y:2.7-9: %code qualifier 'bad' is not used +input-c-glr.y:3.8-10: %code qualifier 'bad' is not used ]]) AT_DATA([input-c++.y], @@ -864,9 +864,9 @@ AT_DATA([input-c++.y], start: ; ]]) AT_BISON_CHECK([[input-c++.y]], [[1]], [], -[[input-c++.y:1.7: %code qualifier `q' is not used -input-c++.y:2.7-9: %code qualifier `bad' is not used -input-c++.y:3.8: %code qualifier `q' is not used +[[input-c++.y:1.7: %code qualifier 'q' is not used +input-c++.y:2.7-9: %code qualifier 'bad' is not used +input-c++.y:3.8: %code qualifier 'q' is not used ]]) AT_DATA([input-c++-glr.y], @@ -877,9 +877,9 @@ AT_DATA([input-c++-glr.y], start: ; ]]) AT_BISON_CHECK([[input-c++-glr.y]], [[1]], [], -[[input-c++-glr.y:1.7-9: %code qualifier `bad' is not used -input-c++-glr.y:2.7: %code qualifier `q' is not used -input-c++-glr.y:3.7: %code qualifier `q' is not used +[[input-c++-glr.y:1.7-9: %code qualifier 'bad' is not used +input-c++-glr.y:2.7: %code qualifier 'q' is not used +input-c++-glr.y:3.7: %code qualifier 'q' is not used ]]) AT_DATA([special-char-@@.y], @@ -890,9 +890,9 @@ AT_DATA([special-char-@@.y], start: ; ]]) AT_BISON_CHECK([[special-char-@@.y]], [[1]], [], -[[special-char-@@.y:1.7-9: %code qualifier `bad' is not used -special-char-@@.y:2.7: %code qualifier `q' is not used -special-char-@@.y:3.7: %code qualifier `q' is not used +[[special-char-@@.y:1.7-9: %code qualifier 'bad' is not used +special-char-@@.y:2.7: %code qualifier 'q' is not used +special-char-@@.y:3.7: %code qualifier 'q' is not used ]]) AT_DATA([special-char-@:>@.y], @@ -903,9 +903,9 @@ AT_DATA([special-char-@:>@.y], start: ; ]]) AT_BISON_CHECK([[special-char-@:>@.y]], [[1]], [], -[[special-char-@:>@.y:1.7-9: %code qualifier `bad' is not used -special-char-@:>@.y:2.7: %code qualifier `q' is not used -special-char-@:>@.y:3.7: %code qualifier `q' is not used +[[special-char-@:>@.y:1.7-9: %code qualifier 'bad' is not used +special-char-@:>@.y:2.7: %code qualifier 'q' is not used +special-char-@:>@.y:3.7: %code qualifier 'q' is not used ]]) AT_CLEANUP @@ -928,9 +928,9 @@ start: ; ]]) AT_BISON_CHECK([[input-redefined.y]], [[1]], [], -[[input-redefined.y:2.9-11: %define variable `var' redefined +[[input-redefined.y:2.9-11: %define variable 'var' redefined input-redefined.y:1.9-11: previous definition -input-redefined.y:3.10-12: %define variable `var' redefined +input-redefined.y:3.10-12: %define variable 'var' redefined input-redefined.y:2.9-11: previous definition ]]) @@ -941,7 +941,7 @@ start: ; ]]) AT_BISON_CHECK([[input-unused.y]], [[1]], [], -[[input-unused.y:1.9-11: %define variable `var' is not used +[[input-unused.y:1.9-11: %define variable 'var' is not used ]]) AT_CLEANUP @@ -985,7 +985,7 @@ AT_DATA([[input-dg.y]], start: ; ]]) AT_BISON_CHECK([[-Dvar=cmd-d input-dg.y]], [[1]], [], -[[input-dg.y:1.9-11: %define variable `var' redefined +[[input-dg.y:1.9-11: %define variable 'var' redefined :2: previous definition ]]) @@ -994,8 +994,8 @@ AT_DATA([[input-unused.y]], start: ; ]]) AT_BISON_CHECK([[-Dunused-d -Funused-f input-unused.y]], [[1]], [], -[[:2: %define variable `unused-d' is not used -:3: %define variable `unused-f' is not used +[[:2: %define variable 'unused-d' is not used +:3: %define variable 'unused-f' is not used ]]) AT_CLEANUP @@ -1015,7 +1015,7 @@ start: ; ]]) AT_BISON_CHECK([[Input.y]], [1], [], -[[Input.y:2.9-14: invalid value for %define Boolean variable `public' +[[Input.y:2.9-14: invalid value for %define Boolean variable 'public' ]]) AT_CLEANUP @@ -1033,10 +1033,10 @@ AT_DATA([[input.y]], start: ; ]]) AT_BISON_CHECK([[input.y]], [[1]], [[]], -[[input.y:1.9-29: invalid value for %define variable `lr.default-reductions': `bogus' -input.y:1.9-29: accepted value: `most' -input.y:1.9-29: accepted value: `consistent' -input.y:1.9-29: accepted value: `accepting' +[[input.y:1.9-29: invalid value for %define variable 'lr.default-reductions': 'bogus' +input.y:1.9-29: accepted value: 'most' +input.y:1.9-29: accepted value: 'consistent' +input.y:1.9-29: accepted value: 'accepting' ]]) # Back-end. @@ -1046,10 +1046,10 @@ AT_DATA([[input.y]], start: ; ]]) AT_BISON_CHECK([[input.y]], [1], [], -[[input.y:1.9-21: 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' -input.y:1.9-21: accepted value: `both' +[[input.y:1.9-21: 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' +input.y:1.9-21: accepted value: 'both' ]]) AT_CLEANUP @@ -1069,10 +1069,10 @@ AT_DATA([[input.y]], start: ; ]]) AT_BISON_CHECK([[input.y]], [1], [], -[[input.y:1.9-21: 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' -input.y:1.9-21: accepted value: `both' +[[input.y:1.9-21: 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' +input.y:1.9-21: accepted value: 'both' ]]) AT_DATA([[input.y]], @@ -1081,7 +1081,7 @@ AT_DATA([[input.y]], start: ; ]]) AT_BISON_CHECK([[input.y]], [1], [], -[[input.y:1.9-34: invalid value for %define Boolean variable `lr.keep-unreachable-states' +[[input.y:1.9-34: invalid value for %define Boolean variable 'lr.keep-unreachable-states' ]]) AT_DATA([[input.y]], @@ -1090,7 +1090,7 @@ AT_DATA([[input.y]], start: ; ]]) AT_BISON_CHECK([[input.y]], [[1]], [], -[[input.y:1.9-15: %define variable `foo_bar' is not used +[[input.y:1.9-15: %define variable 'foo_bar' is not used ]]) AT_CLEANUP @@ -1115,7 +1115,7 @@ start: ; ]]) AT_BISON_CHECK([[input.y]], [[1]], [], -[[input.y:1.9-16: %define variable `api.pure' is not used +[[input.y:1.9-16: %define variable 'api.pure' is not used ]]) ]) @@ -1300,11 +1300,11 @@ start: ; # parse.lac.* options are useless if LAC isn't actually activated. AT_BISON_CHECK([[-Dparse.lac.es-capacity-initial=1 input.y]], [[1]], [], -[[:2: %define variable `parse.lac.es-capacity-initial' is not used +[[:2: %define variable 'parse.lac.es-capacity-initial' is not used ]]) AT_BISON_CHECK([[-Dparse.lac.memory-trace=full input.y]], [[1]], [], -[[:2: %define variable `parse.lac.memory-trace' is not used +[[:2: %define variable 'parse.lac.memory-trace' is not used ]]) AT_CLEANUP