Loading ...
Sorry, an error occurred while loading the content.

3948Re: [antlr-interest] how do i skip unmatched characters?

Expand Messages
  • Stdiobe
    Jul 4, 2001
      Gary Schaps,

      I finally figured out your solution. Seems you were right all along! Thanks.

      Stdiobe

      > > Something like this might work. You'll have to define
      > > "unmatched character" more precisely of course.
      > >
      > > class MyLexer extends Lexer;
      > > options {
      > > k=2;
      > > filter = IGNORE;
      > > charVocabulary = '\3'..'\177';
      > > }
    • Show all 19 messages in this topic