summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r--gcc/diagnostic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h
index 39f650e10f5..f3ebcf86a64 100644
--- a/gcc/diagnostic.h
+++ b/gcc/diagnostic.h
@@ -51,6 +51,10 @@ typedef struct
/* The ideal upper bound of number of characters per line, as suggested
by front-end. */
int ideal_maximum_length;
+
+ /* Indentation count. */
+ int indent_skip;
+
/* Nonzero if current PREFIX was emitted at least once. */
int emitted_prefix_p;
@@ -88,6 +92,7 @@ struct output_buffer
#define output_buffer_format_args(BUFFER) *((BUFFER)->state.format_args)
#define output_needs_newline(BUFFER) (BUFFER)->state.need_newline_p
#define output_buffer_state(BUFFER) (BUFFER)->state
+#define output_indentation(BUFFER) (BUFFER)->state.indent_skip
/* This data structure bundles altogether any information relevent to
the context of a diagnostic message. */