diff options
author | Richard Henderson <rth@cygnus.com> | 1998-02-22 07:33:39 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1998-02-22 07:33:39 -0800 |
commit | 9c37957a85c0710725a2ca26f7b9bc9fc6325500 (patch) | |
tree | 09ab38c3a7c3f75d1031d4cde5b9fff624526c46 /gcc/objc | |
parent | e3c49f52e9816546442b6455f89773557bf6a88e (diff) | |
download | gcc-9c37957a85c0710725a2ca26f7b9bc9fc6325500.zip gcc-9c37957a85c0710725a2ca26f7b9bc9fc6325500.tar.gz gcc-9c37957a85c0710725a2ca26f7b9bc9fc6325500.tar.bz2 |
* objc/Object.m (-error): Call objc_verror with our va_list.
From-SVN: r18167
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/Object.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/objc/Object.m b/gcc/objc/Object.m index 8573f36..1ce7c77 100644 --- a/gcc/objc/Object.m +++ b/gcc/objc/Object.m @@ -213,7 +213,7 @@ extern int errno; } } - if (parent = [self superClass]) + if ((parent = [self superClass])) return [parent conformsTo: aProtocol]; else return NO; @@ -335,7 +335,7 @@ extern size_t strlen(const char*); object_is_instance(self)?"instance":"class", (aString!=NULL)?aString:""); va_start(ap, aString); - objc_error(self, OBJC_ERR_UNKNOWN, fmt, ap); + objc_verror(self, OBJC_ERR_UNKNOWN, fmt, ap); va_end(ap); return nil; #undef FMT |