[antlr-interest] Exit Status from ANTLR

Randall R Schulz rschulz at sonic.net
Mon Jun 25 11:18:22 PDT 2007


On Monday 25 June 2007 11:04, robermann wrote:
> Hi Randall
> From a previous email, this is my workaround, hope this help:
>
> if you override the default error handling mechanism,  you can
> rethrow the exception, rather than catch it. So the calling (testing)
> class get an unhandled exception and the Java VM exits with an error
> code != 0.

I don't understand what you're suggesting.

I want an exit status from the ANTLR parser generator tool, not from the 
parsers it generates.


Randall Schulz


More information about the antlr-interest mailing list