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:
Paul Eggert
2002-10-14 08:43:36 +00:00
parent 1318e37d58
commit b56471a689
10 changed files with 30 additions and 30 deletions

View File

@@ -66,7 +66,7 @@ AT_SYNCLINES_COMPILE([syncline.c])
AT_CHECK([[test "`cat stdout`" = 'syncline.c:1: @%:@error "1"' || exit 77]])
AT_DATA([[input.y]], [$2])
AT_CHECK([bison input.y -o input.c])
AT_CHECK([bison -o input.c input.y])
AT_SYNCLINES_COMPILE([input.c])
AT_CHECK([cat stdout], 0, [$3])
AT_CLEANUP