aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2014-11-23 21:35:14 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2014-11-23 21:35:14 +0100
commitbc1b9ef1515041e06190f8833719334be27f82b3 (patch)
treee6a300ad21ef0455afb6d27a262aa6b935a0be25
parent16db2a6aa770f2e3285f3f4e9ab955a7c4cce5c1 (diff)
downloadgcc-bc1b9ef1515041e06190f8833719334be27f82b3.zip
gcc-bc1b9ef1515041e06190f8833719334be27f82b3.tar.gz
gcc-bc1b9ef1515041e06190f8833719334be27f82b3.tar.bz2
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
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/error.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index ddccf96..12ec7e2 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,4 +1,9 @@
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>
* gfortran.h (gfc_option_t): Remove warn_tabs.
diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c
index 3a508fa..0f85b49 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