[antlr-interest] Lexer rule precedence

Massimiliano Donini maxgbr at hotmail.it
Fri Nov 26 07:48:16 PST 2010


  Hi, i have one problems on lexer rules and i can't understand why.
As attachment  there's a piece of my grammar where i got the error:
Debugging i can correctly match 'NULL', but i can't match 'DEFAULT NULL' 
there something that i miss....
I think there is something wrong with lexer rule precedence, but not sure.
Any help would be really appreciated

Greetings Max
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test4.g
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20101126/cf4fc049/attachment.pl 


More information about the antlr-interest mailing list