[antlr-interest] Parsing whole-line comments?

Christian Convey christian.convey at gmail.com
Sun Jun 6 07:47:25 PDT 2010

> ----------------
> /* Tokens */
> NEWLINE: '\n' ;
> E:  'E';
> C:  'C';
> // default greediness ensures "CALL" is matched as CALL instead of C.

Thanks, but 'C' can also be the name of a variable, as long as it's
not in the first column.  So I don't think greediness solves the whole

More information about the antlr-interest mailing list