[PATCH, fortran, committed] Update error messages for Emacs/GNU compatibility.

Brooks Moses brooks.moses@codesourcery.com
Fri Nov 3 20:49:00 GMT 2006


(I initially sent this to the wrong email address; thus, resending.)


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.

---------------------------------------------------------------------- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.diff
Type: application/octet-stream
Size: 1728 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061103/0984cebc/attachment.obj>


More information about the Gcc-patches mailing list