aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorBrooks Moses <brooks.moses@codesourcery.com>2006-11-03 05:07:59 +0000
committerBrooks Moses <brooks@gcc.gnu.org>2006-11-02 21:07:59 -0800
commit5d7de335d797bb22671a929a0b3712fa25aeb4fe (patch)
tree18db1836cca5530ca6b489060f520e9e3da8ac3a /gcc/fortran
parent502e2a2d248f3e25eb41d2a37fb289faf7baf762 (diff)
downloadgcc-5d7de335d797bb22671a929a0b3712fa25aeb4fe.zip
gcc-5d7de335d797bb22671a929a0b3712fa25aeb4fe.tar.gz
gcc-5d7de335d797bb22671a929a0b3712fa25aeb4fe.tar.bz2
error.c (show_locus): Remove "In file" from error messages.
* fortran/error.c (show_locus): Remove "In file" from error messages. * testsuite/lib/gfortran-dg.exp (gfortran-dg-test): Remove expected "In file" from error messages. From-SVN: r118450
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/error.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index f07fcc9..800ba51 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-02 Brooks Moses <brooks.moses@codesourcery.com>
+
+ * error.c (show_locus): Remove "In file" from error messages.
+
2006-10-31 Geoffrey Keating <geoffk@apple.com>
* trans-decl.c (gfc_generate_constructors): Update for removal
diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c
index f63e416..c4ef9d6 100644
--- a/gcc/fortran/error.c
+++ b/gcc/fortran/error.c
@@ -134,7 +134,7 @@ show_locus (int offset, locus * loc)
lb = loc->lb;
f = lb->file;
- error_printf ("In file %s:%d\n", f->filename,
+ error_printf ("%s:%d\n", f->filename,
#ifdef USE_MAPPED_LOCATION
LOCATION_LINE (lb->location)
#else