[antlr-interest] ANTLR3 C Target Runtime Error

H S haiscai2003 at yahoo.com
Thu May 27 02:43:04 PDT 2010


Hi,

There seems to be a bug in the generated C sources (antlr3lexer.c): the state variable is NULL and dues to that it crashes later. 
It is NULL because LangParserNew passes NULL to LangParserNew SSD, etc.
I have tried a few versions (3.1.3, 3.2,etc ) and all seem to have this problem.
Am I calling the wrong function (LangParserNew)?

Thanks.
Hai



      


More information about the antlr-interest mailing list