mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
* tests/output.at: New test.
* src/files.c (compute_base_names): Don't map extensions when the YACC flag is set, use defaults. Reported by Evgeny Stambulchik.
This commit is contained in:
@@ -419,8 +419,9 @@ compute_base_names (void)
|
||||
|
||||
/* Computes the extensions from the grammar file name. */
|
||||
filename_split (infile, &base, &tab, &ext);
|
||||
if (ext)
|
||||
compute_exts_from_gf (ext);
|
||||
|
||||
if (ext && !yacc_flag)
|
||||
compute_exts_from_gf (ext);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user