Mail Archives: djgpp/1999/11/27/14:07:29
There is a bug in bison-1.25.
When bison is invocated with the "-b" option
it will try to create an output file like this one:
bison -b foo bar.y --> foo.tab.c
instead of the MSDOS version: foo_tab.c
patch follows.
Regards,
Guerrero, Juan Manuel
*** files.c~ Tue Mar 18 16:57:20 1997
--- files.c Sat Nov 27 19:37:38 1999
*************** openfiles()
*** 168,174 ****
--- 168,178 ----
#ifdef VMS
strcat (name_base, "_tab");
#else
+ #ifdef MSDOS
+ strcat (name_base, "_tab");
+ #else
strcat (name_base, ".tab");
+ #endif
#endif
#ifdef MSDOS
#ifndef __DJGPP__
- Raw text -