[antlr-interest] [C target] [3.1] Cast to ASTLabelType missing in Treeparser template
Sven Van Echelpoel
sven.van.echelpoel at empolis.com
Tue Aug 26 02:32:48 PDT 2008
On Mon, 2008-08-25 at 08:21 -0700, Jim Idle wrote:
> On Mon, 2008-08-25 at 14:41 +0200, Sven Van Echelpoel wrote:
> > Hi,
> >
> > When compiling a tree parser generated for the C target, the compiler
> > complains about an illegal conversion from void* when it is compiled as
> > a C++ source.
> >
> > ruleCleanUp() ::= <<
> > <super.ruleCleanUp(...)>
> > <if(backtracking)>
> > if ( BACKTRACKING==0 ) {<\n>
> > <endif>
> > <if(!ruleDescriptor.isSynPred)>
> > retval.stop = LT(-1);<\n>
> > <endif>
> > retval.tree = ADAPTOR->rulePostProcessing(ADAPTOR, root_0);
> > ^^^^^^^^^^^
> > (Cast Missing here?)
> > [...]
> >
> Yes, that looks likely - I will check and implement - thanks.
>
You're welcome. Would that make it into 3.1.1?
Sven
More information about the antlr-interest
mailing list