[antlr-interest] Exit Status from ANTLR

Randall R Schulz rschulz at sonic.net
Mon Jun 25 10:37:08 PDT 2007


On Sunday 19 November 2006 16:13, Kay Roepke wrote:
> On 19. Nov 2006, at 23:12 , Randall R Schulz wrote:
> > 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.
>
> Right you are! http://www.antlr.org:8888/browse/ANTLR-43

I'm disappointed to see this has not been fixed in the final release of 
ANTLR 3.0.

It really makes it hard to script automated builds when you cannot tell 
if there was an error detected during generation of the parser code.


> cheers,
> -k


Randall Schulz


More information about the antlr-interest mailing list