[antlr-interest] Bad first token

Bill Steer steerr at bellsouth.net
Mon May 11 08:14:00 PDT 2009


Hello, all.  I've simplified my grammar, eliminating all of the 
non-determinisms in the lexer (I think).  When I look at the tokens 
returned from the lexer, I get the following first token:

{[@-1,0:0='<no text>',<-1>,0:-1]}

The input string to the lexer appears to be correct.  The token type is 
obviously -1 (EOF), but do the other parts indicate what the error might 
be?  Is there an obvious error I should look for?

Thanks very much for any help.

Bill




More information about the antlr-interest mailing list