[antlr-interest] java.g and single line commnets
Jim O'Connor
Jim.OConnor at microfocus.com
Wed May 5 11:46:45 PDT 2004
Sorry if this info is somewhere.
I have a final line of CLASSNAME.java file
*************************************************
} //END OF CLASSNAME
*************************************************
It does not have a newline. Is there a work around for the single line
comments?
// Single-line comments
SL_COMMENT
: "//"
(~('\n'|'\r'))* ('\n'|'\r'('\n')?)
{$setType(Token.SKIP); newline();}
;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20040505/da0c3d20/attachment.html
More information about the antlr-interest
mailing list