This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, fortran, committed]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]