patch applied (ghc): Columns now start at 1, as lines already did

Simon Peyton-Jones simonpj at microsoft.com
Mon Nov 30 03:43:33 EST 2009


| 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.

If we adopt this (as I think you already have), let's document it in the user manual, and point to this guidance.

Simon



More information about the Cvs-ghc mailing list