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

Jim Idle jimi at temporal-wave.com
Wed Jul 30 14:58:48 PDT 2008


On Wed, 2008-07-30 at 22:39 +0200, Florian Pasco wrote:

> 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.


This is fixed in b3 (but the dist tar that contains the fix will not be
checked in until later today).

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080730/d6f189ad/attachment-0001.html 


More information about the antlr-interest mailing list