Looks like the same bug to me. But ANTLR-314 resolves as "won't fix"! So my grammar shouldn't compile! I'll try to investigate a bit more because I feel like relying on a feature that doesn't officially exist.
c. On Wed, Nov 24, 2010 at 12:34 AM, Terence Parr <[email protected]> wrote: > 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 <[email protected]> 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 >>> >>> > > List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
