aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2003-12-19 22:32:32 -0800
committerPer Bothner <bothner@gcc.gnu.org>2003-12-19 22:32:32 -0800
commit7b330e081884a96c5e83bc0b42f8f22d62a42357 (patch)
tree71d0b85d418f4565391e78a296bf33d6c55051a7 /gcc/langhooks.c
parentf3da0ead0c5c3772c8322cc4aad8deeb382ef2dd (diff)
downloadgcc-7b330e081884a96c5e83bc0b42f8f22d62a42357.zip
gcc-7b330e081884a96c5e83bc0b42f8f22d62a42357.tar.gz
gcc-7b330e081884a96c5e83bc0b42f8f22d62a42357.tar.bz2
re PR c/13110 (error message includes extra blank line)
* langhooks.c (lhd_print_error_function): Fix for PR c/13110. Don't do pp_newline; it causes an extra blank line. * pretty-print.c (pp_base_flush): Clear pp_needs_newline. From-SVN: r74872
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r--gcc/langhooks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index 0e4aa22..e31c1fb 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -545,7 +545,6 @@ lhd_print_error_function (diagnostic_context *context, const char *file)
(context->printer, "In function `%s':",
(*lang_hooks.decl_printable_name) (current_function_decl, 2));
}
- pp_newline (context->printer);
diagnostic_set_last_function (context);
pp_flush (context->printer);