[PATCH, fortran, committed]
Janne Blomqvist
Janne.Blomqvist@tkk.fi
Fri Nov 3 20:27:00 GMT 2006
Brooks Moses wrote:
> Approved by Steve Kargl in IRC, committed to trunk.
>
> This patch changes the "In file:" lines in GFortran error messages to a
> format which is in agreement with the GNU standards for such things, and
> changes the testsuite error-parsing functions to parse the new format,
> so that no regressions arise from the change.
>
> Many thanks to Steve and to Jerry DeLisle for regression testing the
> patch while my build machine was otherwise occupied. :)
>
> - Brooks
>
>
> -fortran/ChangeLog----------------------------------------------------
> 2006-11-02 Brooks Moses <brooks.moses@codesourcery.com>
>
> * error.c (show_locus): Remove "In file" from error messages.
>
> -testsuite/ChangeLog--------------------------------------------------
> 2006-11-02 Brooks Moses <brooks.moses@codesourcery.com>
>
> * lib/gfortran-dg.exp (gfortran-dg-test): Remove expected "In file"
> from error messages.
>
> ----------------------------------------------------------------------
Shouldn't there be a ":" at the end of the line as well? And the output
should start in column 2 and not 1? I.e.
foo.f:line:
instead of the current
foo.f:line
At least I need to add that to get emacs to jump to the error line.
--
Janne Blomqvist
More information about the Fortran
mailing list