Emacs and GFortran
David Kastrup
dak@gnu.org
Wed Nov 15 09:17:00 GMT 2006
Nick Roberts <nickrob@snap.net.nz> writes:
> > 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.
Then disregard my previous mail.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
More information about the Fortran
mailing list