[antlr-interest] Whats wrong with this?

Micha micha-1 at fantasymail.de
Wed Jun 3 16:34:41 PDT 2009


On Thursday 04 June 2009 00:14:26 Mats Ekberg wrote:
> > Hi!
> >
> > I cant figure out why this grammar dont work (I have left out some  
> > not relevant stuff).
> > This expression works:    [ LOOKUP( A1234567890, 9TN ) ] 93

I think the lexer sees for "9TN" a UNIT here

> > This dont:    [ LOOKUP( A1234567890, ATN ) ] 93

and here for "ATN" a TABLEID (that's the first rule that matches) which  causes an error

 Michael


More information about the antlr-interest mailing list