aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNicola Pero <n.pero@mi.flashnet.it>2001-03-07 01:29:25 +0100
committerRichard Henderson <rth@gcc.gnu.org>2001-03-06 16:29:25 -0800
commit805c6c57dae58219131ffae97e264b49d848d408 (patch)
tree4ab01488c5701140a5f6dbae7d510a5bd966d37d /gcc
parentd3688a0232df08faa10bc8582d28522c5c50db57 (diff)
downloadgcc-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')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 780d605..3ad31b0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
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;