/[bison]/bison/src/files.c
ViewVC logotype

Diff of /bison/src/files.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.67 by akim, Wed Jan 9 13:03:45 2002 UTC revision 1.68 by marc, Sun Jan 20 15:46:19 2002 UTC
# Line 403  compute_base_names (void) Line 403  compute_base_names (void)
403    
404        /* Computes the extensions from the grammar file name.  */        /* Computes the extensions from the grammar file name.  */
405        filename_split (infile, &base, &tab, &ext);        filename_split (infile, &base, &tab, &ext);
406        if (ext)        if (ext && !yacc_flag)
407          compute_exts_from_gf (ext);          compute_exts_from_gf (ext);
408      }      }
409  }  }
# Line 425  compute_output_file_names (void) Line 425  compute_output_file_names (void)
425      src_extension = ".c";      src_extension = ".c";
426    if (!header_extension)    if (!header_extension)
427      header_extension = ".h";      header_extension = ".h";
428      
429    /* It the defines filename if not given, we create it.  */    /* It the defines filename if not given, we create it.  */
430    if (!spec_defines_file)    if (!spec_defines_file)
431      spec_defines_file = stringappend (full_base_name, header_extension);      spec_defines_file = stringappend (full_base_name, header_extension);

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26