summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-01 14:26:18 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-01 14:26:18 +0000
commit305e550583a7e72a3c062913de93ee5a9876309a (patch)
treec4bd78499a2708285f4e4827847120075d89e3bc /gcc/diagnostic.c
parente64566bc264836bdb578046e5795ed45ddb85801 (diff)
downloadgcc-305e550583a7e72a3c062913de93ee5a9876309a.tar.gz
2005-07-01 Andrew Pinski <pinskia@physics.uc.edu>
PR other/22264 * diagnostic.c (diagnostic_report_current_module): Use pp_newline to print out the last new line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101504 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index ef4b07f4226..c416010b223 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -291,8 +291,9 @@ diagnostic_report_current_module (diagnostic_context *context)
",\n from %s:%d",
xloc.file, xloc.line);
}
- pp_verbatim (context->printer, ":\n");
+ pp_verbatim (context->printer, ":");
diagnostic_set_last_module (context);
+ pp_newline (context->printer);
}
}