objc-act.c (init_objc): Set save_lang_status, restore_lang_status, and mark_lang_status.

* objc/objc-act.c (init_objc): Set save_lang_status,
        restore_lang_status, and mark_lang_status.

From-SVN: r40271
This commit is contained in:
Nicola Pero 2001-03-07 01:29:25 +01:00 committed by Richard Henderson
parent d3688a0232
commit 805c6c57da
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-03-06 Nicola Pero <n.pero@mi.flashnet.it>
* objc/objc-act.c (init_objc): Set save_lang_status,
restore_lang_status, and mark_lang_status.
2001-03-06 Krister Walfridsson <cato@df.lth.se>
* dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.

View File

@ -8162,6 +8162,9 @@ init_objc ()
synth_module_prologue ();
/* Change the default error function */
save_lang_status = &push_c_function_context;
restore_lang_status = &pop_c_function_context;
mark_lang_status = &mark_c_function_context;
decl_printable_name = objc_printable_name;
lang_expand_expr = c_expand_expr;
lang_expand_decl_stmt = c_expand_decl_stmt;