[antlr-interest] ANTLR 3.0.1: invalid character column in a mismatch character error message.

Brent Yates brent.yates at gmail.com
Wed Aug 13 14:42:44 PDT 2008


There are internal API calls to do the conversion (in SlickEdit), but
externally its line:col.  I have seen some compilers (ModelSim in the
Verilog space) that just return line numbers in their error messages just so
they don't have to deal with this issue.  If you know the tab spacing, then
doing the calculation at the lexer level is not too hard and with SlickEdit
it is easy to ask the IDE what the tab setting is.

byates
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080813/b3461d8b/attachment.html 


More information about the antlr-interest mailing list