[antlr-interest] switching the lexer state
Vincente Cobra
vcobra at gmail.com
Mon Jan 15 15:38:48 PST 2007
Hi everybody,
I have a problem switching the lexer state in antlr. I would like to have
the javacc behavior (this.tokenmanager.switchTo(lexer.comment_mode)).
Everytime I find a multiline comment when lexing I want to put the lexer in
comment mode and later revert it back to default.
Thanks in advance
----------------------------------------------------
Yves Zoundi
http://xpontus.sf.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070115/1a8e3cce/attachment.html
More information about the antlr-interest
mailing list