[antlr-interest] Improving lexer error messages for missing end quotes
Robert Parks
robertjparks at gmail.com
Mon Nov 22 12:56:05 PST 2010
* Sorry if this is a dupe - I posted through google groups first then read
that you're are not supposed to do that *
Hi,
I am negative testing my lexer and finding that it doesn't handle
missing end quotes on literal strings as well as I would like. It
throws a MismatchedTokenException saying that it is expecting end
quote found EOF which is correct but I would like it to say the line/
offset of the starting quote. Is there a way to get this information?
Thanks,
Rob
More information about the antlr-interest
mailing list