mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
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:
@@ -338,7 +338,8 @@ compute_output_file_names (void)
|
||||
|
||||
if (report_flag)
|
||||
{
|
||||
spec_verbose_file = concat2 (all_but_tab_ext, OUTPUT_EXT);
|
||||
if (!spec_verbose_file)
|
||||
spec_verbose_file = concat2 (all_but_tab_ext, OUTPUT_EXT);
|
||||
output_file_name_check (spec_verbose_file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user