[antlr-interest] please help on lexer rules antlr v3

John B. Brodie jbb at acm.org
Fri Sep 29 06:33:17 PDT 2006


>Can you please tell why this modified grammar acts in just the same way as 
>the previous?

You forgot to allow for whitespace between the '--' and 'axi...'

Your modified grammar accepts "--axi.reject".
   -jbb


More information about the antlr-interest mailing list