X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/7baed3bf89d1f731f1322b60dc802781e8edcfad..7700a715720cf281473af42164bcf2aa10b45f3d:/src/files.c?ds=inline diff --git a/src/files.c b/src/files.c index c11420c8..2629dfbb 100644 --- a/src/files.c +++ b/src/files.c @@ -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); } }