From 2bf21a8322d5465fc4cc78839d692c4bbcb807b1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 7 Dec 2002 06:15:18 +0000 Subject: [PATCH] (S/R in initial, Defaulted Conflicted Reduction): Adjust reported locations to match the more-precise results now expected. --- tests/conflicts.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conflicts.at b/tests/conflicts.at index f3fe7821..58838e7e 100644 --- a/tests/conflicts.at +++ b/tests/conflicts.at @@ -38,7 +38,7 @@ e: 'e' | /* Nothing. */; ]]) AT_CHECK([bison -o input.c input.y], 0, [], -[[input.y:4.8: warning: rule never reduced because of conflicts: e: /* empty */ +[[input.y:4.9: warning: rule never reduced because of conflicts: e: /* empty */ ]]) AT_CLEANUP @@ -370,7 +370,7 @@ id : '0'; AT_CHECK([bison -o input.c --report=all input.y], 0, [], [[input.y: warning: 1 reduce/reduce conflict -input.y:4.4-8: warning: rule never reduced because of conflicts: id: '0' +input.y:4.6-8: warning: rule never reduced because of conflicts: id: '0' ]]) # Check the contents of the report. -- 2.45.2