[antlr-interest] Emitting (additional) imaginary tokens in the C target

Gavin Lambert antlr at mirality.co.nz
Thu Jun 14 03:48:24 PDT 2007


At 22:22 14/06/2007, Wincent Colaiuta wrote:
 >(Jim, I think you should probably change emit() to
 >call emitNew() rather than doing "lexer->token =
 >token;" for this very reason).

Actually, I think it'd make more sense for emitNew() to call 
emit(), since the first constructs a new token then emits it while 
the second only emits an existing token.



More information about the antlr-interest mailing list