[antlr-interest] Token position 0, -1

Mike Lischke mike at lischke-online.de
Wed Jul 11 00:59:20 PDT 2012



> This is a bug in the C code generator. The parser code should call createTypeToken() but instead calls createTypeText().  You can fix it by modifying antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/AST.stg towards the end of the file and recompiling the jar file.


Bummer. Thanks for the info.

Mike
-- 
www.soft-gems.net



More information about the antlr-interest mailing list