Decided to give this a run on my C-target grammar. I'm getting the following error:
1> [exec] org\antlr\grammar\v3\DefineGrammarItemsWalker.g: node from line 290:15 required (...)+ loop did not match anything at input '<end-of-alt>' 1> [exec] error(10): internal error: c:\...\Aerobasic.g : java.lang.ClassCastException: org.antlr.runtime.tree.CommonTree cannot be cast to org.antlr.tool.GrammarAST 1> [exec] org.antlr.grammar.v3.DefineGrammarItemsWalker.rewrite(DefineGrammarItemsWalker.java:3464) 1> [exec] org.antlr.grammar.v3.DefineGrammarItemsWalker.block(DefineGrammarItemsWalker.java:2073) 1> [exec] org.antlr.grammar.v3.DefineGrammarItemsWalker.rule(DefineGrammarItemsWalker.java:1627) 1> [exec] org.antlr.grammar.v3.DefineGrammarItemsWalker.rules(DefineGrammarItemsWalker.java:1190) 1> [exec] org.antlr.grammar.v3.DefineGrammarItemsWalker.grammarSpec(DefineGrammarItemsWalker.java:623) 1> [exec] org.antlr.grammar.v3.DefineGrammarItemsWalker.grammar_(DefineGrammarItemsWalker.java:315) 1> [exec] org.antlr.tool.Grammar.defineGrammarSymbols(Grammar.java:748) 1> [exec] org.antlr.tool.CompositeGrammar.defineGrammarSymbols(CompositeGrammar.java:369) 1> [exec] org.antlr.Tool.process(Tool.java:465) 1> [exec] org.antlr.Tool.main(Tool.java:93) I am not sure where to go from here. Note that this grammar does not output an AST, it is just a simple parser. This was working fine with ANTLR v3.3. Thanks, -- Justin On 6/23/2011 7:03 PM, Terence Parr wrote: > hi, Jim fixed up the C runtime. please test it out: > > http://antlr.org/download/antlr-master-3.4-beta3-completejar.jar > http://antlr.org/download/antlr-master-3.4-beta3-src.jar > http://antlr.org/download/antlr-runtime-3.4-beta3-sources.jar > http://antlr.org/download/antlr-runtime-3.4-beta3.jar > > Ter > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address 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.