[antlr-interest] Avoiding warnings without code bloat

Gavin Lambert antlr at mirality.co.nz
Tue Jun 26 01:30:20 PDT 2007


At 11:33 26/06/2007, David Piepgrass wrote:
 >// Strings
 >SQ_STRING: '\''! ({true}? ESC_SEQ | ~'\'')* '\''!;
 >DQ_STRING: '"'!  ({true}? ESC_SEQ | ~'"')* '"'!;
 >BQ_STRING: '`'!  ({true}? ESC_SEQ | ~'`')* '`'!;

Does ! work in v3 lexers now?  (Maybe I need to pay closer 
attention.)



More information about the antlr-interest mailing list