[antlr-interest] Grammar for block comments?

Gavin Lambert antlr at mirality.co.nz
Thu Jul 17 14:08:41 PDT 2008


At 04:37 18/07/2008, Jim Idle wrote:
>Using input:
>
>/* XYZ * */
>SOME OTHER STUF F*/

My interpretation of what the OP has been saying is that the 
problem input involves a group of adjacent asterisks within the 
comment -- eg. something like this:

/*  **  */

or this:

/********/



More information about the antlr-interest mailing list