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 List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-interest@googlegroups.com To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---