cp_lexer_save_tokens (parser->lexer);
attrs_location = cp_lexer_peek_token (parser->lexer)->location;
if (c_dialect_objc ())
- /* In obj-c++, seing '[[' might be the either the beginning of
+ /* In obj-c++, seeing '[[' might be the either the beginning of
c++11 attributes, or a nested objc-message-expression. So
let's parse the c++11 attributes tentatively. */
cp_parser_parse_tentatively (parser);
+2013-07-21 OndÅ\99ej BÃlka <neleai@seznam.cz>
+
+ * objc-act.c: Fix typos.
+ * objc-encoding.c: Likewise.
+ * objc-gnu-runtime-abi-01.c: Likewise.
+ * objc-next-runtime-abi-01.c: Likewise.
+ * objc-next-runtime-abi-02.c: Likewise.
+
2013-05-22 Paolo Carlini <paolo.carlini@oracle.com>
* objc-next-runtime-abi-02.c (build_v2_build_objc_method_call):
object.component dot-syntax without a declared
property (this is valid for classes too). Look
for getter/setter methods and internally declare
- an artifical property based on them if found. */
+ an artificial property based on them if found. */
x = maybe_make_artificial_property_decl (NULL_TREE,
NULL_TREE,
rprotos,
tree int_type = type;
if (flag_next_runtime)
{
- /* Another legacy kludge for compatiblity with
+ /* Another legacy kludge for compatibility with
gcc-3.3: 32-bit longs are encoded as 'l' or 'L',
but not always. For typedefs, we need to use 'i'
or 'I' instead if encoding a struct field, or a
For example, at present, any target that includes an implementation of
the NeXT runtime needs to place Objective-C meta-data into specific
named sections. This should _not_ be done for the GNU runtime, and the
- folowing macro is used to attach Objective-C private attributes that may
+ following macro is used to attach Objective-C private attributes that may
be used to identify the runtime for which the meta-data are intended. */
#define OBJCMETA(DECL,VERS,KIND) \
objc_finish_struct (objc_protocol_template, decls);
}
-/* --- names, decls + identifers --- */
+/* --- names, decls + identifiers --- */
static void
build_selector_table_decl (void)
objc_finish_struct (objc_protocol_template, decls);
}
-/* --- names, decls identifers --- */
+/* --- names, decls identifiers --- */
static tree
next_runtime_abi_01_super_superclassfield_id (void)
/* IVAR refs are made via an externally referenceable offset and built
on the fly. That is, unless they refer to (private) fields in the
- class stucture. */
+ class structure. */
static tree
next_runtime_abi_02_build_ivar_ref (location_t loc ATTRIBUTE_UNUSED,
tree base, tree id)
that the old ABI is supposed to build 'struct objc_method' which
has 3 fields, but it does not build the initialization expression
for 'method_imp' which for protocols is NULL any way. To be
- consistant with declaration of 'struct method_t', in the new ABI we
+ consistent with declaration of 'struct method_t', in the new ABI we
set the method_t.imp to NULL. */
static tree
These functions are used by objc_sizeof_type and objc_alignof_type
functions to compute the size and alignment of structures. The
previous method of computing the size and alignment of a structure
- was not working on some architectures, particulary on AIX, and in
+ was not working on some architectures, particularly on AIX, and in
the presence of bitfields inside the structure. */
void
objc_layout_structure (const char *type,