Ok, I downloaded the preview release and it has seemed to fix those errors. I
was using the stable release because I didn't want to use a library that was
'temperamental'.

Just one more thing, now when using my ASTNode I get an invalid cast from
CommonTree to ASTNode in my rules. On these lines...

'Number16_tree = (ASTNode)adaptor.Create(Number16);'

I've set the adaptor using...

'ASTAdaptor treeAdaptor = new ASTAdaptor();
parser.TreeAdaptor = treeAdaptor;'

Do I have to set the adaptor somewhere else? I've seen people talking about
invalid casts from CommonTree, not sure what's required.

Thanks again.

--
View this message in context: 
http://antlr.1301665.n2.nabble.com/ASTLabelType-C-Problem-tp6567453p6568868.html
Sent from the ANTLR mailing list archive at Nabble.com.

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to