diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-06 09:53:43 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-06 09:53:43 +0000 |
commit | 63bb154b240b958df0362f669e033b3021b1808c (patch) | |
tree | 23cafd1696c36130ecec7dc19f2ec03f1966f62b /libobjc | |
parent | 5a290437ab9a4a1dc9b5887b3164e0c07973a62f (diff) | |
download | linaro-gcc-63bb154b240b958df0362f669e033b3021b1808c.tar.gz linaro-gcc-63bb154b240b958df0362f669e033b3021b1808c.tar.bz2 linaro-gcc-63bb154b240b958df0362f669e033b3021b1808c.zip |
In libobjc/:
2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
* class.c (class_getSuperclass): Fixed typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 4 | ||||
-rw-r--r-- | libobjc/class.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 978878e2701..a69e59032cc 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,5 +1,9 @@ 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com> + * class.c (class_getSuperclass): Fixed typo in comment. + +2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com> + PR libobjc/49882 * class.c (class_getSuperclass): Return the superclass if the class is in construction. diff --git a/libobjc/class.c b/libobjc/class.c index 5df70508691..fa21afc461d 100644 --- a/libobjc/class.c +++ b/libobjc/class.c @@ -925,7 +925,7 @@ class_getSuperclass (Class class_) /* Classes that are in construction are not resolved, and still have the class name (instead of a class pointer) in the - class_->superclass field. In that case we need to lookup the + class_->super_class field. In that case we need to lookup the superclass name to return the superclass. We can not resolve the class until it is registered. */ if (CLS_IS_IN_CONSTRUCTION (class_)) |