[antlr-interest] LT(0)
Braden McDaniel
braden at endoframe.com
Sun Apr 6 11:18:44 PDT 2003
On Sun, 2003-04-06 at 13:32, Ross Bencina wrote:
> Braden McDaniel wrote:
> > I'm just trying to throw a SemanticException, and provide it with
> > accurate line and column information.
>
> For that, perhaps try labeling your terminals:
>
> minusExpr : a:MINUS unaryExpr
> { a->getLine(); }
> ;
Ah, of course. Thanks.
--
Braden McDaniel e-mail: <braden at endoframe.com>
<http://endoframe.com> Jabber: <braden at jabber.org>
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list