error.c (gfc_diagnostic_build_prefix): Correct coloring of the colon of the prefix.
authorTobias Burnus <burnus@net-b.de>
Sun, 23 Nov 2014 20:35:14 +0000 (21:35 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 23 Nov 2014 20:35:14 +0000 (21:35 +0100)
2014-11-23  Tobias Burnus  <burnus@net-b.de>

        * error.c (gfc_diagnostic_build_prefix): Correct coloring
        of the colon of the prefix.

From-SVN: r217986

gcc/fortran/ChangeLog
gcc/fortran/error.c

index ddccf96e72c0ec14e4600443e0d9669d97014723..12ec7e21e1c5580263c30c7d098503ef976c67dc 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-23  Tobias Burnus  <burnus@net-b.de>
+
+       * error.c (gfc_diagnostic_build_prefix): Correct coloring
+       of the colon of the prefix.
+
 2014-11-23  Tobias Burnus  <burnus@net-b.de>
            Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
index 3a508fa693e577391e28e4edb2ca12c96f214c69..0f85b496ecf89776bce4ce83b73e671f8993f7a9 100644 (file)
@@ -1021,7 +1021,7 @@ gfc_diagnostic_build_prefix (diagnostic_context *context,
                                diagnostic_kind_color[diagnostic->kind]);
       text_ce = colorize_stop (pp_show_color (pp));
     }
-  return build_message_string ("%s%s%s: ", text_cs, text, text_ce);
+  return build_message_string ("%s%s:%s ", text_cs, text, text_ce);
 }
 
 /* Return a malloc'd string describing a location.  The caller is