...
Code Block |
---|
// ANTLR 3 ML_COMMENT : '/*' (options {greedy=false;} : .)* '*/' {$channel=HIDDEN;} ; |
For languages which allow nested comments:
Code Block |
---|
// ANTLR 3
NESTED_ML_COMMENT
: '/*'
(options {greedy=false;} : NESTED_ML_COMMENT | . )*
'*/' {$channel=HIDDEN;}
;
|