* opts.c (decode_options): Do language-specific initialization for
commitf63da8d393e342c83d233886c58d2de39249a8a6
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Aug 2003 22:14:47 +0000 (3 22:14 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Aug 2003 22:14:47 +0000 (3 22:14 +0000)
tree29df02f871698c716e4d5eefae48e0e4cf22f599
parent76a6451b75db81811cf67469d96f5bd925ec8555
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70129 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h
gcc/opts.c