diff options
Diffstat (limited to 'gcc/pretty-print.h')
-rw-r--r-- | gcc/pretty-print.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h index a7b5a9fbbba..e0fd2e98c9d 100644 --- a/gcc/pretty-print.h +++ b/gcc/pretty-print.h @@ -256,6 +256,12 @@ pp_base_get_prefix (const pretty_printer *pp) { return pp->prefix; } #define pp_quote(PP) pp_character (PP, '\'') #define pp_backquote(PP) pp_character (PP, '`') #define pp_doublequote(PP) pp_character (PP, '"') +#define pp_newline_and_flush(PP) \ + do { \ + pp_newline (PP); \ + pp_flush (PP); \ + pp_needs_newline (PP) = false; \ + } while (0) #define pp_newline_and_indent(PP, N) \ do { \ pp_indentation (PP) += N; \ |