Accept --report-file=FILE to override the default `.output' filename.

* NEWS (2.3a+): Mention.
* doc/bison.texinfo (Bison Options): Add an entry.
* src/files.c (compute_output_file_names): Don't override
spec_verbose_file if already set.
* src/getargs.c (usage): Document --report-file.
(REPORT_FILE_OPTION): New anonymous enum member.
(long_options): Add entry for it.
(getargs): Add case for it setting spec_verbose_file.

* build-aux/cross-options.pl: Don't record a short option just because
there's an arg.
* doc/.cvsignore: Add yacc.1.
This commit is contained in:
Joel E. Denny
2007-11-18 06:40:41 +00:00
parent a005a9c4dc
commit 1bb2bd75f0
8 changed files with 38 additions and 5 deletions

View File

@@ -13,11 +13,12 @@ bison.ps
bison.toc
bison.tp
bison.vr
cross-options.texi
Makefile.in
refcard.dvi
refcard.log
refcard.ps
Makefile.in
*.info*
stamp-vti
version.texi
cross-options.texi
yacc.1

View File

@@ -107,6 +107,9 @@ also produce a header file
\fB\-r\fR, \fB\-\-report\fR=\fITHINGS\fR
also produce details on the automaton
.TP
\fB\-\-report\-file\fR=\fIFILE\fR
write report to FILE
.TP
\fB\-v\fR, \fB\-\-verbose\fR
same as `\-\-report=state'
.TP

View File

@@ -7827,6 +7827,9 @@ Implies @code{state} and augments the description of the automaton with
the full set of items for each state, instead of its core only.
@end table
@item --report-file=@var{file}
Specify the @var{file} for the verbose description.
@item -v
@itemx --verbose
Pretend that @code{%verbose} was specified, i.e., write an extra output