On 28/11/09 21:09, Ian Lynagh wrote:
On Sat, Nov 28, 2009 at 08:55:20PM +0000, Ian Lynagh wrote:
On Sat, Nov 28, 2009 at 08:18:11PM +0000, Ian Lynagh wrote:

I've just looked at a few other common tools to see what they do, but
the answer turns out to be "not give column numbers".

Found a couple that do; cpp and yacc both look like they start at 1:

Also, someone's just pointed me at this link:
     http://www.gnu.org/prep/standards/html_node/Errors.html

     Line numbers should start from 1 at the beginning of the file, and
     column numbers should start from 1 at the beginning of the line.
     (Both of these conventions are chosen for compatibility.) Calculate
     column numbers assuming that space and all ASCII printing characters
     have equal width, and assuming tab stops every 8 columns.

*shrug*, ok, as you were then...

Any IDE-ish code that interprets error messages will need to be updated, though.

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to