Hi, i like to define a very simple rule, which should represent identifiers. This works quite well for identifiers which are longer than one characters, but for identifiers with exactly one character I get a MismatchedTokenException(64!=45). This is the rule:
ID : ('a'..'z' | 'A'..'Z')+ ;
What is wrong with that?
Thanks!