summaryrefslogtreecommitdiff
path: root/gcc/pretty-print.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/pretty-print.h')
-rw-r--r--gcc/pretty-print.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h
index 0fd00b33a27..80affe83e6f 100644
--- a/gcc/pretty-print.h
+++ b/gcc/pretty-print.h
@@ -203,6 +203,8 @@ struct pretty_print_info
pp_base_indent (pp_base (PP)); \
pp_needs_newline (PP) = false; \
} while (0)
+#define pp_maybe_newline_and_indent(PP, N) \
+ if (pp_needs_newline (PP)) pp_newline_and_indent (PP, N)
#define pp_separate_with(PP, C) \
do { \
pp_character (PP, C); \