Message-Id: <200203302007.g2UK7gj32152@delorie.com> From: "Juan Manuel Guerrero" Organization: Darmstadt University of Technology To: djgpp-announce AT delorie DOT com Date: Sat, 30 Mar 2002 19:43:07 +0100 Subject: ANNOUNCE: DJGPP port of GNU bison 1.35 uploaded. Reply-To: djgpp AT delorie DOT com 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 NEWS file. 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 next release. 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: http://www.simtel.net/gnudlpage.php?product=/gnu/djgpp/v2gnu/bsn135b.zip&name=bsn135b.zip Bison 1.35 source: http://www.simtel.net/gnudlpage.php?product=/gnu/djgpp/v2gnu/bsn135s.zip&name=bsn135s.zip Send GNU bison specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel