opts.c (decode_options): Do language-specific initialization for the global diagnosti...
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 3 Aug 2003 22:14:47 +0000 (22:14 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 3 Aug 2003 22:14:47 +0000 (22:14 +0000)
commit21ecc5a77daed79e3860ca1e0a7d5a42c6b7660d
tree29df02f871698c716e4d5eefae48e0e4cf22f599
parent8f7ace48dd79e309d9067717828a44544c8aa4e4
opts.c (decode_options): Do language-specific initialization for the global diagnostic context.

* opts.c (decode_options): Do language-specific initialization for
the global diagnostic context.
* langhooks-def.h (lhd_initialize_diagnostics): Declare.
(LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
(LANG_HOOKS_INITIALIZER): Adjust.
* langhooks.h (struct lang_hooks): Add new field
initialize_diagnostics.
* langhooks.c (lhd_initialize_diagnostics): Define.

From-SVN: r70129
gcc/ChangeLog
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h
gcc/opts.c