X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/4e0813a6cf9ec58cd6e6ef7ecaa1857eecb8cf13..c373bf8bb8da68ed12b1e73aaa2d777f6c701e46:/doc/bison.1?ds=sidebyside diff --git a/doc/bison.1 b/doc/bison.1 index f7ebbdcb..62c1721e 100644 --- a/doc/bison.1 +++ b/doc/bison.1 @@ -24,10 +24,6 @@ bison \- GNU Project parser generator (yacc replacement) ] [ .B \-\-no-lines ] [ -.B \-n -] [ -.B \-\-no-parser -] [ .BI \-o " outfile" ] [ .BI \-\-output-file= outfile @@ -59,6 +55,11 @@ bison \- GNU Project parser generator (yacc replacement) .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 @@ -159,11 +160,11 @@ the name of the output filename. .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 @@ -206,21 +207,6 @@ and debuggers will associate errors with your source file, the 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 @@ -279,7 +265,7 @@ so that the debugging facilities are compiled. .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 @@ -340,29 +326,16 @@ The purpose of this switch is to imitate .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 @@ -375,3 +348,9 @@ in the 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 . +There is NO WARRANTY, to the extent permitted by law.