[antlr-interest] Antlr 3 and the newline token problem

Martin Probst mail at martin-probst.com
Fri Nov 25 15:30:50 PST 2005


> WS : ( '\r' ( '\n' )? | '\n' ) { newline(); /*$setType(Token.SKIP)*/ };

Your indentation/parenthesis usage is a lot better than mine ;-)

Martin



More information about the antlr-interest mailing list