-AT_CHECK([bison input.y -o input.c], 0, [],
+AT_CHECK([bison -o input.c input.y], 0, [],
-AT_CHECK([bison input.y -o input.c --report=all], 0, [],
+AT_CHECK([bison -o input.c --report=all input.y], 0, [],
# Check the contents of the report.
AT_CHECK([cat input.output], [],
# Check the contents of the report.
AT_CHECK([cat input.output], [],
1 | exp OP exp . [$end, OP]
$default reduce using rule 1 (exp)
1 | exp OP exp . [$end, OP]
$default reduce using rule 1 (exp)
-AT_CHECK([bison input.y -o input.c --report=all], 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'
]])
# Check the contents of the report.
AT_CHECK([cat input.output], [],
[[input.y: warning: 1 reduce/reduce conflict
input.y:4.4-8: warning: rule never reduced because of conflicts: id: '0'
]])
# Check the contents of the report.
AT_CHECK([cat input.output], [],
-AT_CHECK([bison input.y -o input.c], 1, [],
+AT_CHECK([bison -o input.c input.y], 1, [],
-AT_CHECK([bison input.y -o input.c], 1, [],
+AT_CHECK([bison -o input.c input.y], 1, [],