diagnostic.h (struct diagnostic_context): Add new field.
authorGabriel Dos Reis <gdr@codesourcery.com>
Tue, 26 Jun 2001 14:06:07 +0000 (14:06 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 26 Jun 2001 14:06:07 +0000 (14:06 +0000)
commitf68fc4db625bf32c800bbc49e1b62fd736b78090
tree2c4cb21103202d0c4940fa8b9d5fb916a80a23ba
parentd7f4934bc700a83c75393b1647fcfc4abbca799b
diagnostic.h (struct diagnostic_context): Add new field.

* diagnostic.h (struct diagnostic_context): Add new field.
(lang_diagnostic_starter, lang_diagnostic_finalizer): Remove
declaratons.
(global_dc): Declare.
* diagnostic.c (global_diagnostic_context): New variable.
(global_output_buffer): Remove.
(global_dc): Define.
(lang_diagnostic_starter, lang_diagnostic_finalizer): Remove
  definitions.
(initialize_diagnostics): Adjust initialization.
(set_diagnostic_context): Adjust setting.

cp/

* error.c (init_error): Adjust settings.

From-SVN: r43581
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/diagnostic.c
gcc/diagnostic.h