Emacs and GFortran
Richard Stallman
rms@gnu.org
Wed Nov 1 02:14:00 GMT 2006
> and if you want to add column info, that can be done as well:
>
> <file>:<startline>.<startcol>-<endline>.<endcol>:<message>
Which, you'll agree is not very usefull is the error arises from the
conjunction of 3 different statements at lines 5, 19 and 1027.
The syntax <file>:<startline>.<startcol>-<endline>.<endcol>:<message>
is intended for sitations where a continuous range of code that spans
a few lines is the locus of the error.
In the case you're talking about, it is certainly better to generate 3
different error messages, one for each of those error loci, using the
GNU standard format to indicate them.
They can be supplemented by other text that explains how the three
statements relate to each other and constitute an error.
More information about the Fortran
mailing list