tests: formatting changes

* tests/input.at, tests/regression.at: here.
This commit is contained in:
Akim Demaille
2019-01-12 07:34:26 +01:00
parent 8b717ca5ae
commit d3801ad2d1
2 changed files with 6 additions and 3 deletions

View File

@@ -2533,9 +2533,11 @@ AT_CLEANUP
## ---------------------------- ## ## ---------------------------- ##
## Unput's effect on locations. ## ## Unput's effect on locations. ##
## ---------------------------- ## ## ---------------------------- ##
dnl When the scanner detects a deprecated construct, it unputs the correct
dnl version, but it should *not* have any impact on the scanner cursor. If it # When the scanner detects a deprecated construct, it unputs the
dnl does, the locations of directives on the same line become erroneous. # correct version, but it should *not* have any impact on the scanner
# cursor. If it does, the locations of directives on the same line
# become erroneous.
AT_SETUP([[Unput's effect on locations]]) AT_SETUP([[Unput's effect on locations]])

View File

@@ -450,6 +450,7 @@ AT_BISON_CHECK([-o input.c input.y], [[0]], [[]],
[[input.y:22.8-14: warning: symbol SPECIAL redeclared [-Wother] [[input.y:22.8-14: warning: symbol SPECIAL redeclared [-Wother]
input.y:22.16-63: warning: symbol "\\'?\"\a\b\f\n\r\t\v\001\201\001\201??!" used more than once as a literal string [-Wother] input.y:22.16-63: warning: symbol "\\'?\"\a\b\f\n\r\t\v\001\201\001\201??!" used more than once as a literal string [-Wother]
]]) ]])
AT_BISON_CHECK([-fcaret -o input.c input.y], [[0]], [[]], AT_BISON_CHECK([-fcaret -o input.c input.y], [[0]], [[]],
[[input.y:22.8-14: warning: symbol SPECIAL redeclared [-Wother] [[input.y:22.8-14: warning: symbol SPECIAL redeclared [-Wother]
%token SPECIAL "\\\'\?\"\a\b\f\n\r\t\v\001\201\x001\x000081??!" %token SPECIAL "\\\'\?\"\a\b\f\n\r\t\v\001\201\x001\x000081??!"