summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-07 00:29:25 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-07 00:29:25 +0000
commit249c933c9015ab43ee84daf6d6285686850fba7e (patch)
tree4ab01488c5701140a5f6dbae7d510a5bd966d37d /gcc/objc
parent5ea762931df184641a2beb4261ad782de2a6ae6d (diff)
downloadgcc-249c933c9015ab43ee84daf6d6285686850fba7e.tar.gz
* objc/objc-act.c (init_objc): Set save_lang_status,
restore_lang_status, and mark_lang_status. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 99cb2971543..30ccc9ea374 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;