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

Gavin Lambert antlr at mirality.co.nz
Wed Aug 13 14:28:58 PDT 2008


At 09:05 14/08/2008, Foust wrote:
 >Is that true? The popular IDEs don't take line + character 
offset?

I've yet to see one that does.  (Maybe they do internally, but 
internal calls are irrelevant to the point I'm trying to make, 
since you'll have access to the ANTLR-generated object model and 
can use whatever makes sense there.)

See:
   <http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx>
   <http://www.gnu.org/prep/standards/standards.html#Errors>

 >Do you think C++ compilers are really doing character ->
 >column# translations (with Tab translation) before
 >outputting syntax errors?

Yes, I do.



More information about the antlr-interest mailing list