This is a port of GNU Bison 1.35 to MSDOS/DJGPP.
DJGPP specific changes.
The DJGPP port of Bison offers LFN and SFN support depending on which
OS it is running. If LFN support is available or not is determinated
at run time. If LFN support is available (DOS session under Win9X),
the standard posix file name extensions will be used. These are: y.tab.c,
y.tab.c++, y.tab.h, y.output, etc. If only SFN support is available
(plain DOS), then the standard MSDOS short file names will be used.
These are: y_tab.c, y_tab.h, y.out, etc.
For futher information about GNU bison please read the info docs and
For users that are seriously interested in using bison, an upgrade
to this port is highly recommended. It fixes a bug in a token
parsing function in src/lex.c. The bug appears randomly depending on
memory contents at run time. This bug can be observed in previous
ports when the testsuite is run (test #53. regression.at:626:
testing Invalid inputs... fails). The reason for this failure is
that the token string stored in char *object_base of struct
token_obstack in function parse_percent_token of file src/lex.c is
never terminated with '\0'. This makes the calling function read
the contents of char *token_buffer (a pointer to char *object_base)
until it finds a '\0' somewhere in memory, generating this somewhat
difficult to reproduce runtime depending bug. A patch has been
submitted to bison maintainers so this bug will be fixed in the
Please do **NOT** mix skeleteon files, these are bison.simple and
bison.hairy from previous ports with this new one. This would lead
to errors that can not be reproduced by me.
Make a clean deinstallation of the previuos port and then install
this new one.
Please also note that the testsuite will only work if LFN are available.
Unfortunately gettext-0.11.1 has still not been ported so this bison port
will have no NLS at all. Users interested in NLS will have to wait until
the DJGPP port of gettext-0.11.1 is released and then reconfigure and
recompile the sources from scratch.
The port consists of two packages that can be downloaded from
simtel.net and mirrors as (timestamp: 2002-03-28):
Bison 1.35 binary, info and man format documentation:
Bison 1.35 source:
Send suggestions and bug reports concerning the DJGPP port to