diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b19517..0475bee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-09 Ziemowit Laski <zlaski@apple.com> + + * objc/objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS' + boundaries outside build_component_ref() call (a macro in ObjC++). + 2004-02-09 Bob Wilson <bob.wilson@acm.org> * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update. diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 70434c5..2274124 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -7890,10 +7890,11 @@ get_super_receiver (void) super_expr_list = build_tree_list (NULL_TREE, super_expr); /* Set class to begin searching. */ - super_expr = build_component_ref (UOBJC_SUPER_decl, #ifdef OBJCPLUS + super_expr = build_component_ref (UOBJC_SUPER_decl, get_identifier ("super_class")); #else + super_expr = build_component_ref (UOBJC_SUPER_decl, get_identifier ("class")); #endif |