Hi. still spins for me. sorry. Ter On Jul 4, 2011, at 1:56 AM, Mu Qiao wrote:
> I fixed my grammar so that ANTLR doesn't spin forever on it. Then > there's a new problem: > > attempting LL(1) DFA (d=419) for 632:29: ( DIGIT )? > error(10): internal error: libbash.g : java.lang.NullPointerException > org.antlr.grammar.v3.CodeGenTreeWalker.atom(CodeGenTreeWalker.java:5250) > org.antlr.grammar.v3.CodeGenTreeWalker.element(CodeGenTreeWalker.java:3981) > org.antlr.grammar.v3.CodeGenTreeWalker.alternative(CodeGenTreeWalker.java:3753) > org.antlr.grammar.v3.CodeGenTreeWalker.block(CodeGenTreeWalker.java:3125) > org.antlr.grammar.v3.CodeGenTreeWalker.ebnf(CodeGenTreeWalker.java:4878) > org.antlr.grammar.v3.CodeGenTreeWalker.element(CodeGenTreeWalker.java:3967) > org.antlr.grammar.v3.CodeGenTreeWalker.alternative(CodeGenTreeWalker.java:3753) > org.antlr.grammar.v3.CodeGenTreeWalker.block(CodeGenTreeWalker.java:3125) > org.antlr.grammar.v3.CodeGenTreeWalker.ebnf(CodeGenTreeWalker.java:4878) > org.antlr.grammar.v3.CodeGenTreeWalker.element(CodeGenTreeWalker.java:3967) > org.antlr.grammar.v3.CodeGenTreeWalker.alternative(CodeGenTreeWalker.java:3753) > org.antlr.grammar.v3.CodeGenTreeWalker.block(CodeGenTreeWalker.java:3125) > org.antlr.grammar.v3.CodeGenTreeWalker.rule(CodeGenTreeWalker.java:2379) > org.antlr.grammar.v3.CodeGenTreeWalker.rules(CodeGenTreeWalker.java:1534) > org.antlr.grammar.v3.CodeGenTreeWalker.grammarSpec(CodeGenTreeWalker.java:1438) > org.antlr.grammar.v3.CodeGenTreeWalker.grammar_(CodeGenTreeWalker.java:506) > org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:421) > org.antlr.Tool.generateRecognizer(Tool.java:655) > org.antlr.Tool.process(Tool.java:468) > org.antlr.Tool.main(Tool.java:93) > > ANTLR-3.3 doesn't have that problem. The attachment is my grammar. > > On Wed, Jun 29, 2011 at 4:56 AM, Terence Parr <pa...@cs.usfca.edu> wrote: >> http://antlr.org/download >> >> a few more things fixed. >> >> Ter >> >> List: http://www.antlr.org/mailman/listinfo/antlr-interest >> Unsubscribe: >> http://www.antlr.org/mailman/options/antlr-interest/your-email-address >> > > > > -- > Best wishes, > Mu Qiao > GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5 3ACC 30B3 0DE4 17B1 57E9 > <libbash.g> 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.