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:[email protected]] 
Sent: Monday, March 22, 2010 9:12 PM
To: [email protected]
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]

 




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.

Reply via email to