Skip to content
Snippets Groups Projects
Commit 21ecc5a7 authored by Gabriel Dos Reis's avatar Gabriel Dos Reis Committed by Gabriel Dos Reis
Browse files

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
parent 8f7ace48
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment