[antlr-interest] Exit Status from ANTLR
Randall R Schulz
rschulz at sonic.net
Mon Nov 20 06:47:34 PST 2006
Oliver,
On Monday 20 November 2006 00:40, you wrote:
> I do not think so. Using System.exit in an IDE like e.g. Eclipse will
> either tear down the whole IDE or cause a security exception. Neither
> option is desirable.
I specifically asked that this be done for the command-line interface
invoked via the main method org.antlr.Tool. That method should only be
used by the stand-alone CLI tool.
Randall Schulz
> Oliver
>
> 2006/11/19, Randall R Schulz <rschulz at sonic.net>:
> > Hi,
> >
> > It would be nice if the ANTLR command (as in {@link
> > org.antlr.Tool#main(String[])} would call
> > System.exit(somethingNonZero) if it detected and error in the
> > submitted grammar specification.
More information about the antlr-interest
mailing list