[antlr-interest] [C target] [3.1] Cast to ASTLabelType missing in Treeparser template
Jim Idle
jimi at temporal-wave.com
Tue Aug 26 08:23:24 PDT 2008
On Tue, 2008-08-26 at 11:32 +0200, Sven Van Echelpoel wrote:
> 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?
Yes.
>
> Sven
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080826/8e0f0fa8/attachment.html
More information about the antlr-interest
mailing list