[antlr-interest] What causes org.antlr.runtime.EarlyExitException ?

Marcelo Nichele marcelo.nichele at gmail.com
Sun Oct 25 04:51:45 PDT 2009


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 <jimi at temporal-wave.com> 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: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> > bounces at antlr.org] On Behalf Of Peter Boughton
> > Sent: Saturday, October 24, 2009 7:48 PM
> > To: antlr-interest at antlr.org
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091025/ac1f6a71/attachment.html 


More information about the antlr-interest mailing list