[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bison-1_29-branch] update-doc-new-options.patch
From: |
marc-alexandre autret |
Subject: |
[bison-1_29-branch] update-doc-new-options.patch |
Date: |
Tue, 18 Sep 2001 14:53:30 +0000 (GMT) |
Doc update.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.173.2.37
diff -u -r1.173.2.37 ChangeLog
--- ChangeLog 2001/09/18 11:37:11 1.173.2.37
+++ ChangeLog 2001/09/18 12:51:26
@@ -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>
+
* src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
do that.
Reported by Keith Browne.
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/18 12:51:26
@@ -10,11 +10,11 @@
] [
.B \-d
] [
-.B \-\-defines
+.BI \-\-defines= defines-file
] [
.B \-g
] [
-.B \-\-graph
+.BI \-\-graph= graph-file
] [
.B \-k
] [
@@ -128,7 +128,7 @@
.br
.ns
.TP
-.B \-\-defines
+.BI \-\-defines= defines-file
Write an extra output file containing macro definitions for the token
type names defined in the grammar and the semantic value type
.BR YYSTYPE ,
@@ -148,17 +148,19 @@
.B yylex
needs to be able to refer to token type codes and the variable
.BR yylval .
+Note that defines-file argument is optionnal.
.TP
.BI \-g
.br
.ns
.TP
-.BI \-\-graph
+.BI \-\-graph= graph-file
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 .
+Note that graph-file argument is optionnal.
.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/18 12:51:29
@@ -5085,11 +5085,12 @@
@table @option
@item -d
address@hidden --defines
address@hidden address@hidden
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
address@hidden variable declarations. @xref{Decl Summary}.
address@hidden variable declarations. Note that @var{defines-file} is
+optionnal. @xref{Decl Summary}.
@item -b @var{file-prefix}
@itemx address@hidden
@@ -5110,10 +5111,10 @@
as described under the @samp{-v} and @samp{-d} options.
@item -g
address@hidden --graph
address@hidden address@hidden
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}.
+be @file{foo.vcg}. Note that @var{graph-file} is optionnal.
@end table
@node Environment Variables
@@ -5171,9 +5172,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.
- [bison-1_29-branch] update-doc-new-options.patch,
marc-alexandre autret <=