(S/R in initial, Defaulted Conflicted Reduction):

Adjust reported locations to match the more-precise
results now expected.
This commit is contained in:
Paul Eggert
2002-12-07 06:15:18 +00:00
parent 3f2d73f157
commit 2bf21a8322

View File

@@ -38,7 +38,7 @@ e: 'e' | /* Nothing. */;
]]) ]])
AT_CHECK([bison -o input.c input.y], 0, [], 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 AT_CLEANUP
@@ -370,7 +370,7 @@ id : '0';
AT_CHECK([bison -o input.c --report=all input.y], 0, [], AT_CHECK([bison -o input.c --report=all input.y], 0, [],
[[input.y: warning: 1 reduce/reduce conflict [[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. # Check the contents of the report.