[antlr-interest] Discarding characters in lexer
Andrey Timoshenkov
tas at ultersys.ru
Thu Mar 27 08:02:18 PDT 2008
Hello everybody.
I have a possibly quick question about the lexical analyzer. In version
2 there was a '!' operator that allowed to discard characters from token
text like this:
STRING: '"'! ('"' '"'! | ~('"') )* '"'! ;
It seems that it has gone in version 3. Is it possible to achieve the
same result in version 3?
Thank you,
Andrey Timoshenkov
More information about the antlr-interest
mailing list