From: Paul Eggert Date: Fri, 13 Dec 2002 12:18:31 +0000 (+0000) Subject: (Invocation, Bison Options): Mention yacc X-Git-Tag: BISON-1_875~66 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/397ec0734f0dc355714ec3bec96f3b0130b52211 (Invocation, Bison Options): Mention yacc as an alias for bison y. --- diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 652da664..670a65ba 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -6082,6 +6082,10 @@ bison -d -o @var{output.c++} @var{infile.y} @noindent will produce @file{output.c++} and @file{outfile.h++}. +For compatibility with @acronym{POSIX}, the standard Bison +distribution also contains a shell script called @command{yacc} that +invokes Bison with the @option{-y} option. + @menu * Bison Options:: All the options described in detail, in alphabetical order by short options. @@ -6122,10 +6126,12 @@ Equivalent to @samp{-o y.tab.c}; the parser output file is called @file{y.tab.c}, and the other outputs are called @file{y.output} and @file{y.tab.h}. The purpose of this option is to imitate Yacc's output file name conventions. Thus, the following shell script can substitute -for Yacc: +for Yacc, and the Bison distribution contains such a script for +compatibility with @acronym{POSIX}: @example -bison -y $* +#! /bin/sh +bison -y "$@" @end example @end table