From b06af56f5548a9126e0c9d14ae3876034f5cb6ca Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 7 Dec 2002 06:15:55 +0000 Subject: [PATCH] (Invalid $n, Invalid @n, Type Clashes): Adjust reported locations to match the more-precise results now expected. --- tests/input.at | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/input.at b/tests/input.at index a16289e2..78342c10 100644 --- a/tests/input.at +++ b/tests/input.at @@ -33,7 +33,7 @@ exp: { $$ = $1 ; }; ]]) AT_CHECK([bison input.y], [1], [], -[[input.y:2.6-14: integer out of range: `$1' +[[input.y:2.13-14: integer out of range: `$1' ]]) AT_CLEANUP @@ -51,7 +51,7 @@ exp: { @$ = @1 ; }; ]]) AT_CHECK([bison input.y], [1], [], -[[input.y:2.6-14: integer out of range: `@1' +[[input.y:2.13-14: integer out of range: `@1' ]]) AT_CLEANUP @@ -74,9 +74,9 @@ exp: foo {} foo ]]) AT_CHECK([bison input.y], [], [], -[[input.y:4.4-15: warning: type clash on default action: != <> -input.y:5.4-8: warning: type clash on default action: != <> -input.y:6.4: warning: empty rule for typed nonterminal, and no action +[[input.y:4.6-15: warning: type clash on default action: != <> +input.y:5.6-8: warning: type clash on default action: != <> +input.y:6.5: warning: empty rule for typed nonterminal, and no action ]]) AT_CLEANUP -- 2.47.2