From: Paul Eggert Date: Sat, 7 Dec 2002 06:15:18 +0000 (+0000) Subject: (S/R in initial, Defaulted Conflicted Reduction): X-Git-Tag: BISON-1_875~157 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/2bf21a8322d5465fc4cc78839d692c4bbcb807b1 (S/R in initial, Defaulted Conflicted Reduction): Adjust reported locations to match the more-precise results now expected. --- 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.