toplev.c (decode_f_option): Adjust setting.
authorGabriel Dos Reis <gdr@codesourcery.com>
Tue, 26 Jun 2001 19:18:37 +0000 (19:18 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 26 Jun 2001 19:18:37 +0000 (19:18 +0000)
commit9596ddd67ef7106cc0d6eac0bcfa8fe24b73f50d
treeddbcd8386d8c592593807dad30877f6e735fbb0b
parent5e3caf26130ce7ec7e34b28e4f412c6e7c313eae
toplev.c (decode_f_option): Adjust setting.

* 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.

From-SVN: r43588
gcc/ChangeLog
gcc/c-lang.c
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/lex.c
gcc/diagnostic.c
gcc/diagnostic.h
gcc/toplev.c