[antlr-interest] LT(0)

Ross Bencina rbencina at iprimus.com.au
Sun Apr 6 10:32:48 PDT 2003


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(); }
;

Ross.


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list