* doc/bison.texinfo (Bison Options): Add items -g', --graph'.

(Option Cross Key): Likewise.
* doc/bison.1: Update.
This commit is contained in:
Marc Autret
2001-08-16 18:29:46 +00:00
parent 8c7d6a3de8
commit 483c899a17
3 changed files with 29 additions and 1 deletions

View File

@@ -1,8 +1,14 @@
2001-08-16 Marc Autret <autret_m@epita.fr>
* doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
(Option Cross Key): Likewise.
* doc/bison.1: Update.
2001-08-15 Akim Demaille <akim@epita.fr> 2001-08-15 Akim Demaille <akim@epita.fr>
Version 1.28c. Version 1.28c.
2001-08-15 Marc Autret <prog@epita.fr> 2001-08-15 Marc Autret <autret_m@epita.fr>
* src/reader.c (readgram): Indent output macro YYSTYPE. * src/reader.c (readgram): Indent output macro YYSTYPE.
(packsymbols): Likewise. (packsymbols): Likewise.

View File

@@ -12,6 +12,10 @@ bison \- GNU Project parser generator (yacc replacement)
] [ ] [
.B \-\-defines .B \-\-defines
] [ ] [
.B \-g
] [
.B \-\-graph
] [
.B \-k .B \-k
] [ ] [
.B \-\-token-table .B \-\-token-table
@@ -145,6 +149,17 @@ in a separate source file, because
needs to be able to refer to token type codes and the variable needs to be able to refer to token type codes and the variable
.BR yylval . .BR yylval .
.TP .TP
.BI \-g
.br
.ns
.TP
.BI \-\-graph
Output a VCG definition of the LALR(1) grammar automaton computed by
Bison. If the grammar file is
.BR foo.y
, the VCG output file will be
.BR foo.vcg .
.TP
.B \-k .B \-k
.br .br
.ns .ns

View File

@@ -4899,6 +4899,12 @@ Specify the name @var{outfile} for the parser file.
The other output files' names are constructed from @var{outfile} The other output files' names are constructed from @var{outfile}
as described under the @samp{-v} and @samp{-d} options. as described under the @samp{-v} and @samp{-d} options.
@item -g
@itemx --graph
Output a VCG definition of the LALR(1) grammar automaton computed by
Bison. If the grammar file is @file{foo.y}, the VCG output file will
be @file{foo.vcg}.
@end table @end table
@node Environment Variables, Option Cross Key, Bison Options, Invocation @node Environment Variables, Option Cross Key, Bison Options, Invocation
@@ -4940,6 +4946,7 @@ the corresponding short option.
\line{ --defines \leaderfill -d} \line{ --defines \leaderfill -d}
\line{ --file-prefix \leaderfill -b} \line{ --file-prefix \leaderfill -b}
\line{ --fixed-output-files \leaderfill -y} \line{ --fixed-output-files \leaderfill -y}
\line{ --graph \leaderfill -g}
\line{ --help \leaderfill -h} \line{ --help \leaderfill -h}
\line{ --name-prefix \leaderfill -p} \line{ --name-prefix \leaderfill -p}
\line{ --no-lines \leaderfill -l} \line{ --no-lines \leaderfill -l}