[antlr-interest] antlr 3.3 release imminent

Terence Parr parrt at cs.usfca.edu
Tue Nov 23 15:34:18 PST 2010


it was fix in:

http://www.antlr.org/jira/browse/ANTLR-314

so is

http://www.antlr.org/jira/browse/ANTLR-381

same bug?

Ter
On Nov 23, 2010, at 3:09 PM, Laurent Caillette wrote:

> Here is the behavior I observed. I'm building with Maven 3. I didn't
> change the ``Java.stg`` file.
> 
> With ANTLR library set to `3.2` everything compiles and all tests do pass.
> 
> With ANTLR library set to `3.1.2` the compilation breaks upon rule return type.
> 
> Is there a chance this got magically fixed? I'll be happy to have a
> try with ANTLR-3.3 anyways.
> 
> Regards,
> 
> c.
> 
> 
> 
> On Tue, Nov 23, 2010 at 8:22 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
>> Hi. i checked it out...Java.stg templates used to say:
>> 
>> <ruleDescriptor.ruleListLabels:{ll | <ll:ruleLabelDef(label=it)> <ll.label.text> = null;}; separator="\n">
>> 
>> but now shows RuleReturnScope as type:
>> 
>> <ruleDescriptor.ruleListLabels:{ll | RuleReturnScope <ll.label.text> = null;}; separator="\n">
>> 
>> Unfortunately, i can't fix this as it would break compilation maybe for some people. crap.  It has been this way for 1.5 years...i'm afraid to change.  Can you just update your template file per above?
>> 
>> Thanks,
>> Ter
>> 
>> On Nov 22, 2010, at 1:32 PM, Laurent Caillette wrote:
>> 
>>> Hi Terence,
>>> 
>>> Good news ! Is there a chance to see ANTLR-381 fixed? I'm stuck to
>>> ANTLR-3.1.1 because of this one. If you don't plan to fix it, I'll
>>> take the painful way of changing my source code, just tell me.
>>> 
>>> Regards,
>>> 
>>> Laurent Caillette
>>> http://novelang.org
>> 
>> 



More information about the antlr-interest mailing list