diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-20 06:32:32 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-20 06:32:32 +0000 |
commit | 20729d5b6747f1e8e7aea3c64a067b031ac60867 (patch) | |
tree | 71d0b85d418f4565391e78a296bf33d6c55051a7 /gcc/langhooks.c | |
parent | 23ec9bd9ae1e56457e417f6d9ba85eb87dfc447f (diff) | |
download | gcc-20729d5b6747f1e8e7aea3c64a067b031ac60867.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74872 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 0e4aa2219a0..e31c1fbbd10 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); |