-AT_CHECK([bison input.y -o input.c])
+AT_CHECK([bison input.y -o input.c], 0, [],
+[[input.y:4.8: warning: rule never reduced because of conflicts: e: /* empty */
+]])
]])
AT_CHECK([bison input.y -o input.c --report=all], 0, [],
]])
AT_CHECK([bison input.y -o input.c --report=all], 0, [],
- $ shift, and go to state 3
- OP shift, and go to state 4
+ $end shift, and go to state 3
+ OP shift, and go to state 4
- 1 exp: exp . OP exp [$, OP]
- 1 | exp OP exp . [$, OP]
+ 1 exp: exp . OP exp [$end, OP]
+ 1 | exp OP exp . [$end, OP]
- $ shift, and go to state 3
- OP shift, and go to state 4
+ $end shift, and go to state 3
+ OP shift, and go to state 4
- 1 exp: exp . OP exp [$, OP]
- 1 | exp OP exp . [$, OP]
+ 1 exp: exp . OP exp [$end, OP]
+ 1 | exp OP exp . [$end, OP]
# $default reduce using rule 3 (num)
#
# In this precise case (a reduction is masked by the default
# reduction), we make the `reduce 3' explicit:
#
# $default reduce using rule 3 (num)
#
# In this precise case (a reduction is masked by the default
# reduction), we make the `reduce 3' explicit:
#
# $default reduce using rule 3 (num)
#
# Maybe that's not the best display, but then, please propose something
# $default reduce using rule 3 (num)
#
# Maybe that's not the best display, but then, please propose something
]])
AT_CHECK([bison input.y -o input.c --report=all], 0, [],
]])
AT_CHECK([bison input.y -o input.c --report=all], 0, [],
# Check the contents of the report.
AT_CHECK([cat input.output], [],
# Check the contents of the report.
AT_CHECK([cat input.output], [],
]])
AT_CHECK([bison input.y -o input.c], 1, [],
]])
AT_CHECK([bison input.y -o input.c], 1, [],
]])
AT_CHECK([bison input.y -o input.c], 1, [],
]])
AT_CHECK([bison input.y -o input.c], 1, [],