[antlr-interest] What causes org.antlr.runtime.EarlyExitException ?
jimi at temporal-wave.com
Sun Oct 25 03:19:35 PDT 2009
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.
> -----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 ?
> I'm keep getting errors listed as "Recognition exception
> So what does this actually mean?
> Obviously something has gone wrong, but how do I track down what it is?
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
More information about the antlr-interest