diff options
author | Ziemowit Laski <zlaski@apple.com> | 2004-02-10 02:48:07 +0000 |
---|---|---|
committer | Ziemowit Laski <zlaski@gcc.gnu.org> | 2004-02-10 02:48:07 +0000 |
commit | 42a1b62e554f02daa14da4a8a62ef13f660e5cfd (patch) | |
tree | 590764a0bfb3be3774c35d79eada46894601e2ab | |
parent | 997b8b4d4ca106e1aa07558d1ed050ded496a928 (diff) | |
download | gcc-42a1b62e554f02daa14da4a8a62ef13f660e5cfd.zip gcc-42a1b62e554f02daa14da4a8a62ef13f660e5cfd.tar.gz gcc-42a1b62e554f02daa14da4a8a62ef13f660e5cfd.tar.bz2 |
objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS' boundaries outside build_component_ref() call (a macro...
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++).
From-SVN: r77584
-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 |