[antlr-interest] Selectively disabling lexer rules

Terence Parr parrt at cs.usfca.edu
Mon Jan 2 18:08:53 PST 2006


Hmm...I wonder if you try the other way:

CHAR_LIT : {Character.isIdentifierChar(input.LA(3))}? '?' ~' ' ;

QUESTION : '?' ;

Ter


More information about the antlr-interest mailing list