[antlr-interest] Nested Comments

Gavin Lambert antlr at mirality.co.nz
Thu May 29 06:09:28 PDT 2008


At 00:59 30/05/2008, mark.k.widdowson at jpmorgan.com wrote:
>but ideally would want to be on hidden channel, and don't want to 
>specify optional comments on every rule ?

So just put { $channel = HIDDEN; } at the end, just like for 
whitespace.  There's no difference.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080530/a4d99032/attachment-0001.html 


More information about the antlr-interest mailing list