diff options
author | Gabriel Dos Reis <gdr@codesourcery.com> | 2000-08-22 20:20:32 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2000-08-22 20:20:32 +0000 |
commit | f6a542deced2bd9cbe288ac334486148b5badf51 (patch) | |
tree | 6e3cf53c4db37bf3a9f13b535e5f44d61b730a26 /gcc/diagnostic.h | |
parent | 888e552fda3782604fff70acc32285b09e5c4246 (diff) | |
download | gcc-f6a542deced2bd9cbe288ac334486148b5badf51.zip gcc-f6a542deced2bd9cbe288ac334486148b5badf51.tar.gz gcc-f6a542deced2bd9cbe288ac334486148b5badf51.tar.bz2 |
diagnostic.h (output_buffer_state): New macro.
* diagnostic.h (output_buffer_state): New macro.
* diagnostic.c (diagnostic_for_decl, sorry,
default_print_error_function, output_do_verbatim,
report_diagnostic, report_problematic_module): Use it.
(wrap_text): Tweak.
(output_format): Use wrap_text instead of maybe_wrap_text.
From-SVN: r35891
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r-- | gcc/diagnostic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index e93a77b..196f3f7 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -87,6 +87,7 @@ struct output_buffer #define output_buffer_text_cursor(BUFFER) (BUFFER)->state.cursor #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 /* This data structure bundles altogether any information relevent to the context of a diagnostic message. */ |