Author: chromatic
Date: Tue May 22 13:29:31 2007
New Revision: 18622
Modified:
trunk/include/parrot/objects.h
trunk/src/objects.c
trunk/src/ops/var.ops
trunk/src/pmc/fixedpmcarray.pmc
Changes in other areas also in this revision:
Modified:
trunk/docs/pdds/pdd07_codingstd.pod
Log:
Minor corrections from Bram Geron (RT #42986).
Modified: trunk/include/parrot/objects.h
==============================================================================
--- trunk/include/parrot/objects.h (original)
+++ trunk/include/parrot/objects.h Tue May 22 13:29:31 2007
@@ -90,7 +90,7 @@
} while (0)
/*
- * class marocs
+ * class macros
*/
# define CLASS_ATTRIB_COUNT(cl) PMC_int_val2(cl)
Modified: trunk/src/objects.c
==============================================================================
--- trunk/src/objects.c (original)
+++ trunk/src/objects.c Tue May 22 13:29:31 2007
@@ -744,7 +744,7 @@
VTABLE_set_pmc_keyed(interp, top, name, ns);
}
- /* attach namspace to vtable */
+ /* attach namespace to vtable */
new_vtable->_namespace = ns;
if (new_vtable->ro_variant_vtable) {
@@ -782,7 +782,7 @@
vtable_pmc = constant_pmc_new(interp, enum_class_VtableCache));
PMC_struct_val(vtable_pmc) = new_vtable;
- /* attach namspace to object vtable too */
+ /* attach namespace to object vtable too */
new_vtable->_namespace = ns;
if (new_vtable->ro_variant_vtable) {
Modified: trunk/src/ops/var.ops
==============================================================================
--- trunk/src/ops/var.ops (original)
+++ trunk/src/ops/var.ops Tue May 22 13:29:31 2007
@@ -284,14 +284,13 @@
=item B<set_hll_global>(in STR, invar PMC)
-Set $1 to the global named $2 in the current HLL root namespace. If the
-global doesn't exist, $1 is set to null.
+Set the global named $1 to $2 in the current HLL root namespace.
=item B<set_hll_global>(in PMC, in STR, invar PMC)
-Set $1 to the global named $3 in the namespace denoted by the key constant
-$2, relative to the current HLL root namespace. If the namespace or the
-global doesn't exist, $1 is set to null.
+Set the global named $2 in the namespace denoted by the key constant
+$1 (relative to the current HLL namespace) to $3. If the namespace
+does not exist, it is created.
=cut
@@ -310,14 +309,13 @@
=item B<set_root_global>(in STR, invar PMC)
-Set $1 to the global named $2 in the true root namespace. If the global
-doesn't exist, $1 is set to null.
+Set the global named $1 in the true root namespace to $2.
=item B<set_root_global>(in PMC, in STR, invar PMC)
-Set $1 to the global named $3 in the namespace denoted by the key constant
-$2, relative to the true root namespace. If the namespace or the global
-doesn't exist, $1 is set to null.
+Set the global named $2 in the namespace denoted by the key constant
+$1 (relative to the true root namespace) to $3. If the namespace does
+not exist, it is created.
=cut
Modified: trunk/src/pmc/fixedpmcarray.pmc
==============================================================================
--- trunk/src/pmc/fixedpmcarray.pmc (original)
+++ trunk/src/pmc/fixedpmcarray.pmc Tue May 22 13:29:31 2007
@@ -411,7 +411,8 @@
=item C<void set_integer_native(INTVAL size)>
-Resizes the array to C<size> elements.
+Sizes the array to C<size> elements. Can't be used to resize an
+array.
=cut