Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added parenthesis around NESTED_ML_COMMENT | . – doesn't work without them.

...

Code Block
// ANTLR 3
NESTED_ML_COMMENT
    :   '/*'
         (options {greedy=false;} : (NESTED_ML_COMMENT | . ))* 
        '*/' {$channel=HIDDEN;}
    ;