mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: formatting changes
* tests/input.at, tests/regression.at: here.
This commit is contained in:
@@ -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]])
|
||||||
|
|
||||||
|
|||||||
@@ -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??!"
|
||||||
|
|||||||
Reference in New Issue
Block a user