mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user