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/pretty-print.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/pretty-print.c')
-rw-r--r-- | gcc/pretty-print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c index 27a77ea569e..993fde7a6d6 100644 --- a/gcc/pretty-print.c +++ b/gcc/pretty-print.c @@ -343,6 +343,7 @@ pp_base_flush (pretty_printer *pp) pp_clear_state (pp); fputc ('\n', pp->buffer->stream); fflush (pp->buffer->stream); + pp_needs_newline (pp) = false; } /* Sets the number of maximum characters per line PRETTY-PRINTER can |