diff options
author | zlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-10 02:48:07 +0000 |
---|---|---|
committer | zlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-10 02:48:07 +0000 |
commit | e9da9b2c6978f5d11df096f835b49d1827f23050 (patch) | |
tree | 590764a0bfb3be3774c35d79eada46894601e2ab /gcc/objc | |
parent | e060c9dfada09e5597b92fd8e60e917d8bef51af (diff) | |
download | gcc-e9da9b2c6978f5d11df096f835b49d1827f23050.tar.gz |
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++).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 70434c53dad..2274124b8b1 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 |