aboutsummaryrefslogtreecommitdiff
path: root/libobjc/exception.c
diff options
context:
space:
mode:
authorAndrew Kreimer <algonell@gmail.com>2024-09-20 11:40:32 +0300
committerAndrew Pinski <quic_apinski@quicinc.com>2024-09-23 20:55:07 +0000
commit0121b852c85db91babdb346f277ca6220eb7df86 (patch)
tree35bee548d04e57fc14b905146fa2c4bf8548b0fd /libobjc/exception.c
parent4700ad1c78ccd7767f846802fca148b2ea9a1852 (diff)
downloadgcc-0121b852c85db91babdb346f277ca6220eb7df86.zip
gcc-0121b852c85db91babdb346f277ca6220eb7df86.tar.gz
gcc-0121b852c85db91babdb346f277ca6220eb7df86.tar.bz2
libobjc: Fix typos
Fix typos in comments. libobjc/ChangeLog: * Makefile.in: s/overrridden/overridden. * encoding.c (_darwin_rs6000_special_round_type_align): Fix typo in comment. (rs6000_special_round_type_align): Likewise. * exception.c (is_kind_of_exception_matcher): Likewise. (PERSONALITY_FUNCTION): Likewise. * hash.c (objc_hash_next): Likewise. * init.c (__objc_create_classes_tree): Likewise. * objc-private/objc-list.h (list_remove_head): Likewise. * sendmsg.c (__objc_install_dtable_for_class): Likewise. * thr.c (objc_thread_yield): Likewise. Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Diffstat (limited to 'libobjc/exception.c')
-rw-r--r--libobjc/exception.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libobjc/exception.c b/libobjc/exception.c
index f051c5f..dce576e 100644
--- a/libobjc/exception.c
+++ b/libobjc/exception.c
@@ -42,7 +42,7 @@ is_kind_of_exception_matcher (Class catch_class, id exception)
return 1;
/* If exception is nil (eg, @throw nil;), then it can only be
- catched by a catch-all (eg, @catch (id object)). */
+ caught by a catch-all (eg, @catch (id object)). */
if (exception != nil)
{
Class c;
@@ -384,7 +384,7 @@ PERSONALITY_FUNCTION (int version,
#endif /* __USING_SJLJ_EXCEPTIONS__ */
/* If ip is not present in the table, C++ would call terminate. */
- /* ??? As with Java, it's perhaps better to tweek the LSDA to that
+ /* ??? As with Java, it's perhaps better to tweak the LSDA to that
no-action is mapped to no-entry. */
CONTINUE_UNWINDING;