[antlr-interest] Bug in ANTLR 3.1b2 C target?

Florian Pasco florianpasco.ml at gmail.com
Wed Jul 30 13:39:48 PDT 2008


Hello,

I have a C source generated from a tree grammar with ANTLR 3.1b2 which
can't compile due to an undeclared identifier ADPTOR in the line :
   ADPTOR->addChild(ADAPTOR, root_0, set27_tree);

It seems like it is caused by a typo in line 146 of
src/org/antlr/codegen/templates/C/ASTTreeParser.stg.
Excuse me if this has already been reported, I could not find any
mention of it in the archives.


More information about the antlr-interest mailing list