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

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
This commit is contained in:
Tobias Burnus 2014-11-23 21:35:14 +01:00 committed by Tobias Burnus
parent 16db2a6aa7
commit bc1b9ef151
2 changed files with 6 additions and 1 deletions

View 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>

View 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