aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index ce0c655..0a59aac 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -677,7 +677,7 @@ dump_omp_clauses (pretty_printer *buffer, tree clause, int spc, int flags)
/* Dump location LOC to BUFFER. */
-static void
+void
dump_location (pretty_printer *buffer, location_t loc)
{
expanded_location xloc = expand_location (loc);
@@ -686,9 +686,11 @@ dump_location (pretty_printer *buffer, location_t loc)
if (xloc.file)
{
pp_string (buffer, xloc.file);
- pp_string (buffer, " : ");
+ pp_string (buffer, ":");
}
pp_decimal_int (buffer, xloc.line);
+ pp_colon (buffer);
+ pp_decimal_int (buffer, xloc.column);
pp_string (buffer, "] ");
}