aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-05-16 08:39:54 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-05-16 08:39:54 -0400
commit9faa82d8c081b9e38370b5a913825111d2166de6 (patch)
tree1e50640eecb618d0b3fa87607094528acb0add62 /gcc/objc
parentddd5a7c1808995545ad5befaa7320135e60b5d38 (diff)
downloadgcc-9faa82d8c081b9e38370b5a913825111d2166de6.zip
gcc-9faa82d8c081b9e38370b5a913825111d2166de6.tar.gz
gcc-9faa82d8c081b9e38370b5a913825111d2166de6.tar.bz2
Fix typos in comments.
From-SVN: r9712
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/class.c8
-rw-r--r--gcc/objc/encoding.c2
-rw-r--r--gcc/objc/hash.h2
-rw-r--r--gcc/objc/misc.c2
-rw-r--r--gcc/objc/objc-act.c4
-rw-r--r--gcc/objc/selector.c2
-rw-r--r--gcc/objc/sendmsg.c8
-rw-r--r--gcc/objc/typedstream.h2
8 files changed, 15 insertions, 15 deletions
diff --git a/gcc/objc/class.c b/gcc/objc/class.c
index 0e7d49b..aeb228f 100644
--- a/gcc/objc/class.c
+++ b/gcc/objc/class.c
@@ -275,9 +275,9 @@ class_pose_as (Class impostor, Class super_class)
impostor->subclass_list = sub;
/* It will happen that SUB is not a class object if it is
- the top of the meta class hierachy chain. (root
- meta-class objects inherit theit class object) If that is
- the case... dont mess with the meta-meta class. */
+ the top of the meta class hierarchy chain. (root
+ meta-class objects inherit their class object) If that is
+ the case... don't mess with the meta-meta class. */
if (CLS_ISCLASS (sub))
{
/* meta classes */
@@ -305,7 +305,7 @@ class_pose_as (Class impostor, Class super_class)
/* This is how to update the lookup table. Regardless of
what the keys of the hashtable is, change all values that are
- suprecalss into impostor. */
+ superclass into impostor. */
for (node = hash_next (__objc_class_hash, NULL); node;
node = hash_next (__objc_class_hash, node))
diff --git a/gcc/objc/encoding.c b/gcc/objc/encoding.c
index 7f64046..66c817f 100644
--- a/gcc/objc/encoding.c
+++ b/gcc/objc/encoding.c
@@ -281,7 +281,7 @@ objc_promoted_size (const char* type)
/*
Skip type qualifiers. These may eventually precede typespecs
- occuring in method prototype encodings.
+ occurring in method prototype encodings.
*/
inline const char*
diff --git a/gcc/objc/hash.h b/gcc/objc/hash.h
index 0234e2e..f78dbd6 100644
--- a/gcc/objc/hash.h
+++ b/gcc/objc/hash.h
@@ -113,7 +113,7 @@ cache_ptr hash_new (unsigned int size,
void hash_delete (cache_ptr cache);
/* Add the key/value pair to the hash table. If the
- hash table reaches a level of fullnes then it will be resized.
+ hash table reaches a level of fullness then it will be resized.
assert if the key is already in the hash. */
diff --git a/gcc/objc/misc.c b/gcc/objc/misc.c
index dee19da..d2bf1ee 100644
--- a/gcc/objc/misc.c
+++ b/gcc/objc/misc.c
@@ -1,4 +1,4 @@
-/* GNU Objective C Runtime Miscellanious
+/* GNU Objective C Runtime Miscellaneous
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
Author: Kresten Krab Thorup
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 2bd3a75..f6b8936 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -1115,7 +1115,7 @@ synth_module_prologue ()
{
if (flag_typed_selectors)
{
- /* supress outputting debug symbols, because
+ /* suppress outputting debug symbols, because
dbxout_init hasn'r been called yet... */
enum debug_info_type save_write_symbols = write_symbols;
write_symbols = NO_DEBUG;
@@ -4839,7 +4839,7 @@ build_message_expr (mess)
warning ("method `%s' not implemented by protocol.",
IDENTIFIER_POINTER (sel_name));
- /* try and find the method signiture in the global pools! */
+ /* try and find the method signature in the global pools! */
if (!(hsh = hash_lookup (nst_method_hash_list, sel_name)))
hsh = hash_lookup (cls_method_hash_list, sel_name);
diff --git a/gcc/objc/selector.c b/gcc/objc/selector.c
index 9adb56a..e208ca9 100644
--- a/gcc/objc/selector.c
+++ b/gcc/objc/selector.c
@@ -27,7 +27,7 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "objc/sarray.h"
#include "encoding.h"
-/* Initial selector hash table size. Value doesnt matter much */
+/* Initial selector hash table size. Value doesn't matter much */
#define SELECTOR_HASH_SIZE 128
/* Tables mapping selector names to uid and opposite */
diff --git a/gcc/objc/sendmsg.c b/gcc/objc/sendmsg.c
index 90dd4c6..3623540 100644
--- a/gcc/objc/sendmsg.c
+++ b/gcc/objc/sendmsg.c
@@ -285,7 +285,7 @@ __objc_install_dispatch_table_for_class (Class class)
if (super != 0 && (super->dtable == __objc_uninstalled_dtable))
__objc_install_dispatch_table_for_class (super);
- /* Allocate dtable if nessecary */
+ /* Allocate dtable if necessary */
if (super == 0)
{
class->dtable = sarray_new (__objc_selector_max_index, 0);
@@ -331,7 +331,7 @@ void __objc_update_dispatch_table_for_class (Class class)
such this function does not worry about thread safe issued.
This one is only called for categories. Class objects have their
- methods installed rightaway, and their selectors are made into
+ methods installed right away, and their selectors are made into
SEL's by the function __objc_register_selectors_from_class. */
void
class_add_method_list (Class class, MethodList_t list)
@@ -351,7 +351,7 @@ class_add_method_list (Class class, MethodList_t list)
if (method->method_name) /* Sometimes these are NULL */
{
- /* This is where selector names are transmogriffed to SEL's */
+ /* This is where selector names are transmogrified to SEL's */
method->method_name =
sel_register_typed_name ((const char*)method->method_name,
method->method_types);
@@ -475,7 +475,7 @@ __objc_block_forward (id rcv, SEL op, ...)
}
-/* This fuction is installed in the dispatch table for all methods which are
+/* This function is installed in the dispatch table for all methods which are
not implemented. Thus, it is called when a selector is not recognized. */
static retval_t
__objc_forward (id object, SEL sel, arglist_t args)
diff --git a/gcc/objc/typedstream.h b/gcc/objc/typedstream.h
index f02a6fd..95a1350 100644
--- a/gcc/objc/typedstream.h
+++ b/gcc/objc/typedstream.h
@@ -102,7 +102,7 @@ long objc_get_stream_class_version (TypedStream* stream, Class class);
/*
-** Convenience funtions
+** Convenience functions
*/
int objc_write_array (TypedStream* stream, const char* type,