diff options
author | Nicola Pero <n.pero@mi.flashnet.it> | 2001-03-07 01:29:25 +0100 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-03-06 16:29:25 -0800 |
commit | 805c6c57dae58219131ffae97e264b49d848d408 (patch) | |
tree | 4ab01488c5701140a5f6dbae7d510a5bd966d37d /gcc/objc | |
parent | d3688a0232df08faa10bc8582d28522c5c50db57 (diff) | |
download | gcc-805c6c57dae58219131ffae97e264b49d848d408.zip gcc-805c6c57dae58219131ffae97e264b49d848d408.tar.gz gcc-805c6c57dae58219131ffae97e264b49d848d408.tar.bz2 |
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
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 99cb297..30ccc9e 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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; |