* module.c (gfc_use_module): Improve error message some more.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 4 Mar 2012 14:29:30 +0000 (14:29 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 4 Mar 2012 14:29:30 +0000 (14:29 +0000)
From-SVN: r184883

gcc/fortran/ChangeLog
gcc/fortran/module.c

index b41da54..97f91be 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * module.c (gfc_use_module): Improve error message some more.
+
 2012-03-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        PR fortran/52313
index 31d7de1..05ed2a2 100644 (file)
@@ -6099,7 +6099,7 @@ gfc_use_module (gfc_use_list *module)
              || parse_atom () != ATOM_STRING
              || strcmp (atom_string, MOD_VERSION))
            gfc_fatal_error ("Cannot read module file '%s' opened at %C,"
-                            " because it was created by an older"
+                            " because it was created by a different"
                             " version of GNU Fortran", filename);
 
          free (atom_string);