From 2e55d0628102889d377feec36ca7699abd8afb1e Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 14 May 2013 21:41:13 +0200 Subject: tree.c (warn_deprecated_use): Print file:line using locus color. * tree.c (warn_deprecated_use): Print file:line using locus color. * diagnostic.c (diagnostic_report_current_module): Print file:line and file:line:column using locus color. From-SVN: r198900 --- gcc/diagnostic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/diagnostic.c') diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index f9a236b..2ec9620 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -517,18 +517,18 @@ diagnostic_report_current_module (diagnostic_context *context, location_t where) map = INCLUDED_FROM (line_table, map); if (context->show_column) pp_verbatim (context->printer, - "In file included from %s:%d:%d", + "In file included from %r%s:%d:%d%R", "locus", LINEMAP_FILE (map), LAST_SOURCE_LINE (map), LAST_SOURCE_COLUMN (map)); else pp_verbatim (context->printer, - "In file included from %s:%d", + "In file included from %r%s:%d%R", "locus", LINEMAP_FILE (map), LAST_SOURCE_LINE (map)); while (! MAIN_FILE_P (map)) { map = INCLUDED_FROM (line_table, map); pp_verbatim (context->printer, - ",\n from %s:%d", + ",\n from %r%s:%d%R", "locus", LINEMAP_FILE (map), LAST_SOURCE_LINE (map)); } pp_verbatim (context->printer, ":"); -- cgit v1.1