;
and the lexer rule is
A : [aA];
B : [bB];
C : [cC];
D : [dD];
E : [eE];
F : [fF];
G : [gG];
H : [hH];
I : [iI];
J : [jJ];
K : [kK];
L : [lL];
M : [mM];
N : [nN];
i need to import this grammar into another grammar which has the rule
fragment LETTER : [a-zA-Z] ;
fragment DIGIT : [0-9] ;
IDENT : LETTER (LETTER | DIGIT)* ;
no the alpha rule will not be met because the IDENT rule in the root grammar will override it
i know it can be solved by changing the IDENT rule to
ident : alpha (alpha | digit);
but i dont want to do that, i want to have the IDENT as a token without going to every letter independently
any suggestions ???