summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Autret <autret_m@epita.fr>2001-08-16 18:29:46 +0000
committerMarc Autret <autret_m@epita.fr>2001-08-16 18:29:46 +0000
commit483c899a1703f3a2b8b6ca2c0cd57792f090c45d (patch)
treec1c3329d1ebf6bc681fc75e4d47f29b98593b1e9 /doc
parent8c7d6a3de82ca7fcbdfa6ad31c3bf70f63c6a069 (diff)
downloadbison-483c899a1703f3a2b8b6ca2c0cd57792f090c45d.tar.gz
* doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
(Option Cross Key): Likewise. * doc/bison.1: Update.
Diffstat (limited to 'doc')
-rw-r--r--doc/bison.115
-rw-r--r--doc/bison.texinfo7
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/bison.1 b/doc/bison.1
index ebcd396c..a73f6e43 100644
--- a/doc/bison.1
+++ b/doc/bison.1
@@ -12,6 +12,10 @@ bison \- GNU Project parser generator (yacc replacement)
] [
.B \-\-defines
] [
+.B \-g
+] [
+.B \-\-graph
+] [
.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
+.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
diff --git a/doc/bison.texinfo b/doc/bison.texinfo
index 969d8156..f1dc64fa 100644
--- a/doc/bison.texinfo
+++ b/doc/bison.texinfo
@@ -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.
+
+@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
@@ -4940,6 +4946,7 @@ the corresponding short option.
\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}