[antlr-interest] antlr-interest Digest, Vol 27, Issue 49
Martin d'Anjou
martin.danjou at neterion.com
Mon Feb 26 15:48:52 PST 2007
>Why do you wish to have filter lexer though? Why not just have a catch
>all rule at the end that matches anything and just assigns the channel
>to hidden? It seems you might be using filters for something that
>doesn't want to be done with a filter ;-)
I don't understand why the lexer does not try the longest match before
declaring the token type when filter=true.
Martin
More information about the antlr-interest
mailing list