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

@@ -1403,7 +1403,7 @@ rpcalc.tab.c rpcalc.y
@group
# @r{Compile the Bison parser.}
# @r{@samp{-lm} tells compiler to search math library for @code{pow}.}
$ @kbd{cc rpcalc.tab.c -lm -o rpcalc}
$ @kbd{cc -lm -o rpcalc rpcalc.tab.c}
@end group
@group
@@ -5812,7 +5812,7 @@ bison -d @var{infile.yxx}
will produce @file{infile.tab.cxx} and @file{infile.tab.hxx}, and
@example
bison -d @var{infile.y} -o @var{output.c++}
bison -d -o @var{output.c++} @var{infile.y}
@end example
@noindent
will produce @file{output.c++} and @file{outfile.h++}.