[antlr-interest] @rulecatch for lexer, doable?

Mats Ekberg mats.ekberg at arcticgroup.se
Sat Jan 17 16:17:39 PST 2009


Hi!

To generate a custom catch clause in the parser one can write:

@rulecatch {
    ..code..
}

How do I accomplish the same thing in the lexer?

/mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090118/f70735b7/attachment.html 


More information about the antlr-interest mailing list