]> git.saurik.com Git - bison.git/commitdiff
* doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
authorMarc Autret <autret_m@epita.fr>
Thu, 16 Aug 2001 18:29:46 +0000 (18:29 +0000)
committerMarc Autret <autret_m@epita.fr>
Thu, 16 Aug 2001 18:29:46 +0000 (18:29 +0000)
(Option Cross Key): Likewise.
* doc/bison.1: Update.

ChangeLog
doc/bison.1
doc/bison.texinfo

index 49cb99e1c46469d6adbd124ce623ce6baa579675..f97f88c7c6dab23536adecb26d4a94a4ee97d625 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        Version 1.28c.
 
 2001-08-15  Akim Demaille  <akim@epita.fr>
 
        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.
        (packsymbols): Likewise.
 
        * src/reader.c (readgram): Indent output macro YYSTYPE.
        (packsymbols): Likewise.
index ebcd396cde17ef30436a24e7265dd3ecc2f94d8e..a73f6e4347cad6ecb1b9b53f9895d3e0b0b6c3ec 100644 (file)
@@ -12,6 +12,10 @@ bison \- GNU Project parser generator (yacc replacement)
 ] [
 .B \-\-defines
 ] [
 ] [
 .B \-\-defines
 ] [
+.B \-g
+] [
+.B \-\-graph
+] [
 .B \-k
 ] [
 .B \-\-token-table
 .B \-k
 ] [
 .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
 .BR yylval .
 .TP
 needs to be able to refer to token type codes and the variable
 .BR yylval .
 .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
 .br
 .ns
 .B \-k
 .br
 .ns
index 969d8156b97a88052e15abfb9e3371a936811e04..f1dc64fa77a005d752847d4423a3917d5f2554a1 100644 (file)
@@ -4899,6 +4899,12 @@ Specify the name @var{outfile} for the parser file.
 
 The other output files' names are constructed from @var{outfile}
 as described under the @samp{-v} and @samp{-d} options.
 
 The other output files' names are constructed from @var{outfile}
 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
 
 @node Environment Variables, Option Cross Key, Bison Options, Invocation
 @end table
 
 @node Environment Variables, Option Cross Key, Bison Options, Invocation
@@ -4940,6 +4946,7 @@ the corresponding short option.
 \line{ --defines \leaderfill -d}
 \line{ --file-prefix \leaderfill -b}
 \line{ --fixed-output-files \leaderfill -y}
 \line{ --defines \leaderfill -d}
 \line{ --file-prefix \leaderfill -b}
 \line{ --fixed-output-files \leaderfill -y}
+\line{ --graph \leaderfill -g}
 \line{ --help \leaderfill -h}
 \line{ --name-prefix \leaderfill -p}
 \line{ --no-lines \leaderfill -l}
 \line{ --help \leaderfill -h}
 \line{ --name-prefix \leaderfill -p}
 \line{ --no-lines \leaderfill -l}