This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Emacs and GFortran
> There is still an off-by-one error; we number the first column as 1
> rather than 0. Given that there's a very strong tradition in Fortran of
> numbering columns starting with 1, and that off-by-one errors in column
> location are within the noise level of locating things (given that
> nearly all errors are several columns wide), I think it makes more sense
> overall to keep it the way it currently is.
I see now this is the right way anyway (from "Formatting Error Messages"
in standards.info):
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.
--
Nick http://www.inet.net.nz/~nickrob