] [
.B \-\-no-lines
] [
-.B \-n
-] [
-.B \-\-no-parser
-] [
.BI \-o " outfile"
] [
.BI \-\-output-file= outfile
.B \-\-fixed-output-files
]
file
+.br
+.B yacc
+[
+.I "similar options and operands"
+]
.SH DESCRIPTION
.I Bison
is a parser generator in the style of
.BI \-g
.br
.ns
-Output a VCG definition of the LALR(1) grammar automaton computed by
+Output a graph of the grammar automaton computed by
Bison. If the grammar file is
.BR foo.y
-, the VCG output file will be
-.BR foo.vcg .
+, the output file will be
+.BR foo.dot .
.TP
.BI \-\-graph= graph-file
The behavior of
grammar file. This option causes them to associate errors with the
parser file, treating it an independent source file in its own right.
.TP
-.B \-n
-.br
-.ns
-.TP
-.B \-\-no-parser
-Do not generate the parser code into the output; generate only
-declarations. The generated
-.IB name .tab.c
-file will have only
-constant declarations. In addition, a
-.IB name .act
-file is
-generated containing a switch statement body containing all the
-translated actions.
-.TP
.BI \-o " outfile"
.br
.ns
.TP
.B \-\-verbose
Write an extra output file containing verbose descriptions of the
-parser states and what is done for each type of look-ahead token in
+parser states and what is done for each type of lookahead token in
that state.
.sp
This file also describes all the conflicts, both those resolved by
.IR yacc 's
output file name conventions.
Thus, the following shell script can substitute for
+.I yacc
+and is often installed as
.IR yacc :
.sp
.RS
.ft B
-bison \-y $*
+bison \-y "$@"
.ft R
.sp
.RE
-.SH FILES
-/usr/local/share/bison/bison.simple simple parser
-.br
-/usr/local/share/bison/bison.hairy complicated parser
-.SH "ENVIRONMENT VARIABLES"
-.TP
-.SM BISON_SIMPLE
-If this is set, it specifies the location in which the
-.B bison.simple
-parser can be found.
-.TP
-.SM BISON_HAIRY
-If this is set, it specifies the location in which the
-.B bison.hairy
-parser can be found.
.SH SEE ALSO
.IR yacc (1)
.br
source distribution.
.SH DIAGNOSTICS
Self explanatory.
+.SH COPYRIGHT
+Copyright \(co 2006 Free Software Foundation, Inc.
+.br
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.