[antlr-interest] emit() does not work

aljer ammar aljeramm at hds.utc.fr
Tue Sep 25 09:30:14 PDT 2007


hi,
 in my old grammar i used $setType(TT) in the lexer. I replaced it in 
the new version by emit(TT).  When i try to generate the lexer class, 
emit() methode is not recognized and i have on error. in the same 
grammar i have skip() methode thot does not make problems.
how may i forced the lexer to generate a specified token??
thank you,


Ammar



More information about the antlr-interest mailing list