[antlr-interest] Help request using updated antlrworks

Jim Idle jimi at temporal-wave.com
Tue Mar 23 08:25:21 PDT 2010


I think this was a bug in the output template that was checked in when 1.3.1 was built and has since been corrected. Either expand ANTLRWorks replace the C.stg and repack, or build directly from source. However using the output = C in ANTLRWorks tends not to be useful ;-). I have always commented out the language= and just used remote debug. Anyway the problem is not your grammar.

 

Please use the list rather than contacting me directly so other benefit from the answers.

 

Thanks,

 

Jim

 

From: Rob Grapes [mailto:Rob.Grapes at ur.co.nz] 
Sent: Monday, March 22, 2010 9:12 PM
To: jimi at temporal-wave.com
Subject: Help request using updated antlrworks

 

Hi Jim,

 

Sorry to contact you directly.  I have an antlr grammar that works perfectly with antlrworks v1.1.7 using the C runtime.

 

But since upgrading to v1.3.1.  I get the following error:

 

[17:08:29] error(10):  internal error: C:\umajin2\Umajin1.g : java.util.NoSuchElementException: no such attribute: ASLabelType in template context [outputFile parser genericParser(...) rule ruleBlockSingleAlt alt rewriteCode rewriteAlt else_subtemplate rewriteElementList rewriteElement rewriteTree rewriteElement rewriteTree rewriteElement rewriteNodeActionRoot]

 





More information about the antlr-interest mailing list