[antlr-interest] Comments get removed after instrumenting source

vasanthi a vasanthi.ak at gmail.com
Thu May 7 03:03:34 PDT 2009


HI All

I have the below code for java grammar comment


// Single-line comments

SL_COMMENT

: "//" (~('\r'|'\n'))* {$setType(Token.SKIP);}

;

After instrumenting the java code, it is removing the java comments . Can
you please let me know how to retain the comments

after instrumenting the code..



Please let me know, as I am stuck up with this from quite long time



Vasanthi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090507/e6be2a43/attachment.html 


More information about the antlr-interest mailing list