diff --git a/tests/input.at b/tests/input.at index 240a51b6..7fdba82f 100644 --- a/tests/input.at +++ b/tests/input.at @@ -2533,9 +2533,11 @@ AT_CLEANUP ## ---------------------------- ## ## 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 -dnl does, the locations of directives on the same line become erroneous. + +# When the scanner detects a deprecated construct, it unputs the +# 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]]) diff --git a/tests/regression.at b/tests/regression.at index 82e2764e..e4f4657a 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -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.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]], [[]], [[input.y:22.8-14: warning: symbol SPECIAL redeclared [-Wother] %token SPECIAL "\\\'\?\"\a\b\f\n\r\t\v\001\201\x001\x000081??!"