I know this is not a very educating answer :-) But what about increasing the stacksize of the JVM?
Andreas wirv...@beats.hu schrieb: > Helo! > > I want to create a Tree Grammar from my "normal" grammar (with the method > described in the ANTLR book), and after I corrected some obvious errors > (remove AST operators, etc.) I got this one: > > Exception in thread "Thread-5" java.lang.StackOverflowError > at java.util.AbstractList$Itr.<init>(Unknown Source) > at java.util.AbstractList$ListItr.<init>(Unknown Source) > at java.util.AbstractList.listIterator(Unknown Source) > at java.util.AbstractList.listIterator(Unknown Source) > at org.antlr.misc.IntervalSet.add(IntervalSet.java:104) > at org.antlr.misc.IntervalSet.add(IntervalSet.java:93) > at org.antlr.misc.IntervalSet.of(IntervalSet.java:74) > at org.antlr.misc.IntervalSet.complement(IntervalSet.java:231) > at org.antlr.misc.IntervalSet.subtract(IntervalSet.java:264) > at org.antlr.analysis.DFAState.addReachableLabel(DFAState.java:343) > at org.antlr.analysis.DFAState.addNFAConfiguration(DFAState.java:254) > at > org.antlr.analysis.NFAToDFAConverter.closure(NFAToDFAConverter.java:633) > at > org.antlr.analysis.NFAToDFAConverter.closure(NFAToDFAConverter.java:756) > at > org.antlr.analysis.NFAToDFAConverter.closure(NFAToDFAConverter.java:709) > .... > and so on. > > > What could be wrong? How can I "debug" this kind of errors? > > Thanks, > Zoli > > > > 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-interest@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 -~----------~----~----~----~------~----~------~--~---