[antlr-interest] Bug report: 2.7.5 and 2.7.6
Harmon Nine
hnine at isis.vanderbilt.edu
Tue Oct 10 15:39:54 PDT 2006
The bug exists in versions 2.7.5 and 2.7.6 of antlr.
It didn't appear in 2.7.1.
The attached "gif" file is actually a "zip" file, and was so renamed to
get around mail filters.
After renaming the file to have a "zip" extension, unzipping it renders
3 files:
Makefile
main.cpp
CExprParser.g
The Makefile isn't perfect (it runs antlr 4 times to build the Parser
and Lexer C files), but it does the trick.
Also, the Makefile needs to be modified to give the ANTLR_JAR and
ANTLR_LIB_HOME variables the appropriate values.
The bug results in a segmentation fault. Just run:
make
./antlrbug.exe
and a segfault should occur.
Thanks.
-- Harmon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061010/cf23a165/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bug.gif
Type: image/gif
Size: 2850 bytes
Desc: Bug.gif
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20061010/cf23a165/attachment-0001.gif
More information about the antlr-interest
mailing list