[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: [bison-1_29-branch] update-doc-new-options.patch
From: |
marc-alexandre autret |
Subject: |
FYI: [bison-1_29-branch] update-doc-new-options.patch |
Date: |
Wed, 19 Sep 2001 15:02:34 +0000 (GMT) |
Hi,
I hope it's good.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.173.2.38
diff -u -r1.173.2.38 ChangeLog
--- ChangeLog 2001/09/18 15:18:26 1.173.2.38
+++ ChangeLog 2001/09/19 12:01:48
@@ -1,5 +1,13 @@
2001-09-18 Marc Autret <address@hidden>
+ * doc/bison.1: Update.
+ * doc/bison.texinfo (Bison Options): Update --defines and --graph
+ descriptions.
+ (Option Cross Key): Update.
+ Add --graph.
+
+2001-09-18 Marc Autret <address@hidden>
+
* tests/regression.at: New test (comment in %union).
2001-09-18 Marc Autret <address@hidden>
Index: doc/bison.1
===================================================================
RCS file: /cvsroot/bison/bison/doc/bison.1,v
retrieving revision 1.7.2.2
diff -u -r1.7.2.2 bison.1
--- doc/bison.1 2001/08/28 13:58:27 1.7.2.2
+++ doc/bison.1 2001/09/19 12:01:48
@@ -10,11 +10,11 @@
] [
.B \-d
] [
-.B \-\-defines
+.BI \-\-defines= defines-file
] [
.B \-g
] [
-.B \-\-graph
+.BI \-\-graph= graph-file
] [
.B \-k
] [
@@ -127,8 +127,6 @@
.B \-d
.br
.ns
-.TP
-.B \-\-defines
Write an extra output file containing macro definitions for the token
type names defined in the grammar and the semantic value type
.BR YYSTYPE ,
@@ -149,16 +147,32 @@
needs to be able to refer to token type codes and the variable
.BR yylval .
.TP
+.BI \-\-defines= defines-file
+The behaviour of
+.BI \-\-defines
+is the same than
+.BI \-d
+option.
+The only difference is that it has an optionnal argument which is
+the name of the output filename.
+.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
+.BI \-\-graph= graph-file
+The behaviour of
+.BI \-\-graph
+is the same than
+.BI \-g
+option. The only difference is that it has an optionnal argument which
+is the name of the output graph filename.
.TP
.B \-k
.br
Index: doc/bison.texinfo
===================================================================
RCS file: /cvsroot/bison/bison/doc/bison.texinfo,v
retrieving revision 1.37.2.3
diff -u -r1.37.2.3 bison.texinfo
--- doc/bison.texinfo 2001/08/29 12:16:04 1.37.2.3
+++ doc/bison.texinfo 2001/09/19 12:01:52
@@ -5085,12 +5085,16 @@
@table @option
@item -d
address@hidden --defines
Pretend that @code{%verbose} was specified, i.e., write an extra output
file containing macro definitions for the token type names defined in
the grammar and the semantic value type @code{YYSTYPE}, as well as a few
@code{extern} variable declarations. @xref{Decl Summary}.
address@hidden address@hidden
+The behaviour of @var{--defines} is the same than @samp{-d}. The only
+difference is that it has an optionnal argument which is the name of
+the output filename.
+
@item -b @var{file-prefix}
@itemx address@hidden
Specify a prefix to use for all Bison output file names. The names are
@@ -5110,10 +5114,14 @@
as described under the @samp{-v} and @samp{-d} options.
@item -g
address@hidden --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}.
+
address@hidden address@hidden
+The behaviour of @var{--graph} is the same than @samp{-g}. The only
+difference is that it has an optionnal argument which is the name of
+the output graph filename.
@end table
@node Environment Variables
@@ -5171,9 +5179,10 @@
@ifinfo
@example
--debug -t
---defines -d
address@hidden -d
address@hidden -b @var{file-prefix}
--fixed-output-files --yacc -y
address@hidden -d
--help -h
address@hidden -p @var{name-prefix}
--no-lines -l
--
Autret Marc (address@hidden)
Eleve Ingenieur en Informatique.
- FYI: [bison-1_29-branch] update-doc-new-options.patch,
marc-alexandre autret <=