* 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:
Marc Autret
2002-01-19 12:50:56 +00:00
parent 7baed3bf89
commit 7700a71572
4 changed files with 14 additions and 2 deletions

View File

@@ -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);
}
}