Another way is debugging in ANTLRWorks, because you manage to view step-by-step the decisions through the graphs becomming more easy our life.
I hope help you. Cheers, Marcelo On Sun, Oct 25, 2009 at 8:19 AM, Jim Idle <[email protected]> wrote: > Easiest way to see this is to look at the generated code - it will make > more sense to you. But it means you have something like ( X Y Z)+ and have > failed to match any sequence of it. Look at where the exception is thrown > and it will show you where in your grammar this is happening. You can then > decide if your grammar or your input is incorrect. When you implement proper > error handling you will change 'early exit' to something more meaningful in > the context of your DSL. > > Jim > > > -----Original Message----- > > From: [email protected] [mailto:antlr-interest- > > [email protected]] On Behalf Of Peter Boughton > > Sent: Saturday, October 24, 2009 7:48 PM > > To: [email protected] > > Subject: [antlr-interest] What causes > > org.antlr.runtime.EarlyExitException ? > > > > Hi, > > > > I'm keep getting errors listed as "Recognition exception > > org.antlr.runtime.EarlyExitException" > > > > So what does this actually mean? > > Obviously something has gone wrong, but how do I track down what it is? > > > > Thanks, > > > > Peter > > > > 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 [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 -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
