[antlr-interest] TokenStreamException

Andrew Deren andrew at adersoftware.com
Fri Mar 14 14:55:13 PST 2003


When executing antlr to generate parser/lexer and the .g file has some
invalid token somewhere,
I get an error:
TokenStreamException: unexpected char: '_'
without any line number or any indication where the error could be.
I think it would be helpful if it at least show the line where that invalid
token is.
Andrew



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list