mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 02:33:03 +00:00
Say "bison -o foo.c foo.y", not "bison foo.y -o foo.c",
so that the commands still work even if POSIXLY_CORRECT is set.
This commit is contained in:
@@ -375,7 +375,7 @@ AT_SETUP([Calculator $1])
|
||||
AT_DATA_CALC_Y([$1])
|
||||
|
||||
# Specify the output files to avoid problems on different file systems.
|
||||
AT_CHECK([bison calc.y -o calc.c m4_bpatsubst([$1], [%[^ ]*])],
|
||||
AT_CHECK([bison -o calc.c m4_bpatsubst([$1], [%[^ ]*]) calc.y],
|
||||
[0], [], [])
|
||||
|
||||
AT_COMPILE([calc])
|
||||
|
||||
Reference in New Issue
Block a user