diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-26 19:18:37 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-26 19:18:37 +0000 |
commit | b165d8b0e02c7a758c08dda04c2e5344a3e822f4 (patch) | |
tree | ddbcd8386d8c592593807dad30877f6e735fbb0b /gcc/cp/lex.c | |
parent | 28c248aa4ae2400357b0d7b92e51829dff07863e (diff) | |
download | gcc-b165d8b0e02c7a758c08dda04c2e5344a3e822f4.tar.gz |
* toplev.c (decode_f_option): Adjust setting.
(toplev_main): Call diagnostic_initialize. Remove call to
reshape_diagnostic_buffer._
* diagnostic.h (struct output_buffer): Add new field format_decoder.
(diagnostic_format_decoder): New macro.
(diagnostic_prefixing_rule): Likewise.
(diagnostic_line_cutoff): Likewise.
(set_message_prefixing_rule): Remove.
* diagnostic.c (lang_printer): Remove.
(diagnostic_message_length_per_line): Likewise.
(current_prefixing_rule): Likewise.
(initialize_diagnostics): Rename to...
(diagnostic_initialize): ...this. Tweak.
(default_initialize_buffer): Remove.
(reshape_diagnostic_buffer): Likewise.
(init_output_buffer): Adjust prefixing rule setting.
(output_format): Use format_decoder from the output_buffer.
* c-lang.c (c_init): Adjust tree formatter setting.
cp/
* error.c (init_error): Adjust settings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43588 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index c466a73beb2..8cee04eb955 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -269,10 +269,10 @@ cxx_init_options () flag_bounds_check = -1; /* By default wrap lines at 80 characters. Is getenv ("COLUMNS") preferable? */ - diagnostic_message_length_per_line = 80; + diagnostic_line_cutoff (global_dc) = 80; /* By default, emit location information once for every diagnostic message. */ - set_message_prefixing_rule (DIAGNOSTICS_SHOW_PREFIX_ONCE); + diagnostic_prefixing_rule (global_dc) = DIAGNOSTICS_SHOW_PREFIX_ONCE; } static void |