142 |
]]) |
]]) |
143 |
|
|
144 |
AT_CHECK([bison input.y -o input.c --report=all], 0, [], |
AT_CHECK([bison input.y -o input.c --report=all], 0, [], |
145 |
[input.y contains 1 shift/reduce conflict. |
[input.y: warning: 1 shift/reduce conflict |
146 |
]) |
]) |
147 |
|
|
148 |
# Check the contents of the report. |
# Check the contents of the report. |
371 |
]]) |
]]) |
372 |
|
|
373 |
AT_CHECK([bison input.y -o input.c --report=all], 0, [], |
AT_CHECK([bison input.y -o input.c --report=all], 0, [], |
374 |
[[input.y contains 1 reduce/reduce conflict. |
[[input.y: warning: 1 reduce/reduce conflict |
375 |
input.y:4.4-8: warning: rule never reduced because of conflicts: id: '0' |
input.y:4.4-8: warning: rule never reduced because of conflicts: id: '0' |
376 |
]]) |
]]) |
377 |
|
|
483 |
]]) |
]]) |
484 |
|
|
485 |
AT_CHECK([bison input.y -o input.c], 1, [], |
AT_CHECK([bison input.y -o input.c], 1, [], |
486 |
[input.y contains 1 shift/reduce conflict. |
[input.y: warning: 1 shift/reduce conflict |
487 |
expected 0 shift/reduce conflicts |
input.y: expected 0 shift/reduce conflicts |
488 |
]) |
]) |
489 |
AT_CLEANUP |
AT_CLEANUP |
490 |
|
|
520 |
]]) |
]]) |
521 |
|
|
522 |
AT_CHECK([bison input.y -o input.c], 1, [], |
AT_CHECK([bison input.y -o input.c], 1, [], |
523 |
[input.y contains 1 shift/reduce conflict. |
[input.y: warning: 1 shift/reduce conflict |
524 |
expected 2 shift/reduce conflicts |
input.y: expected 2 shift/reduce conflicts |
525 |
]) |
]) |
526 |
AT_CLEANUP |
AT_CLEANUP |