[antlr-interest] Exit Status from ANTLR

Randall R Schulz rschulz at sonic.net
Tue Jun 26 05:47:37 PDT 2007


On Monday 25 June 2007 23:26, Wincent Colaiuta wrote:
> El 25/6/2007, a las 22:32, Kay Roepke escribió:
> > On Jun 25, 2007, at 8:18 PM, Randall R Schulz wrote:
> >> ...
> >>
> >> I want an exit status from the ANTLR parser generator tool, not
> >> from the parsers it generates.
> >
> > I will make the case when I see Terence. It probably doesn't
> > comfort you, but I need this, too,
> > but unfortunately I'm way to busy to invest time into it right now.
>
> I'd like to see this too, just for consistency with all the other
> UNIX tools. It would come in very handy in Makefiles as well... on
> seeing a non-zero exit status from the org.antlr.Tool make would stop
> builds rather than blindly ploughing ahead.

Yes, precisely. That's the whole point.

Right now, I'm having to examine the output from ANTLR looking for signs 
of errors. That shouldn't be necessary.


> Cheers,
> Wincent


Randall Schulz


More information about the antlr-interest mailing list