From bc1b9ef1515041e06190f8833719334be27f82b3 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Sun, 23 Nov 2014 21:35:14 +0100 Subject: [PATCH] error.c (gfc_diagnostic_build_prefix): Correct coloring of the colon of the prefix. 2014-11-23 Tobias Burnus * error.c (gfc_diagnostic_build_prefix): Correct coloring of the colon of the prefix. From-SVN: r217986 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/error.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index ddccf96e72c..12ec7e21e1c 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2014-11-23 Tobias Burnus + + * error.c (gfc_diagnostic_build_prefix): Correct coloring + of the colon of the prefix. + 2014-11-23 Tobias Burnus Manuel López-Ibáñez diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c index 3a508fa693e..0f85b496ecf 100644 --- a/gcc/fortran/error.c +++ b/gcc/fortran/error.c @@ -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 -- 2.30.2