Author: allison
Date: Thu Oct 4 15:28:26 2007
New Revision: 21850
Modified:
branches/pdd15oo/src/oo.c
branches/pdd15oo/src/pmc/class.pmc
branches/pdd15oo/src/pmc/default.pmc
branches/pdd15oo/src/pmc/namespace.pmc
Log:
[pdd15oo] Cleaning up trailing whitespace for coding standards.
Modified: branches/pdd15oo/src/oo.c
==============================================================================
--- branches/pdd15oo/src/oo.c (original)
+++ branches/pdd15oo/src/oo.c Thu Oct 4 15:28:26 2007
@@ -126,7 +126,7 @@
Parrot_oo_get_class(PARROT_INTERP, NOTNULL(PMC *key))
{
PMC *classobj = PMCNULL;
- if (VTABLE_isa(interp, key, CONST_STRING(interp, "Class"))
+ if (VTABLE_isa(interp, key, CONST_STRING(interp, "Class"))
|| VTABLE_isa(interp, key, CONST_STRING(interp, "PMCProxy"))) {
classobj = key;
}
Modified: branches/pdd15oo/src/pmc/class.pmc
==============================================================================
--- branches/pdd15oo/src/pmc/class.pmc (original)
+++ branches/pdd15oo/src/pmc/class.pmc Thu Oct 4 15:28:26 2007
@@ -249,7 +249,7 @@
string_from_literal(interp, "NameSpace")))
new_namespace = name_arg;
else {
- PMC *hll_ns = VTABLE_get_pmc_keyed_int(interp,
+ PMC *hll_ns = VTABLE_get_pmc_keyed_int(interp,
interp->HLL_namespace, CONTEXT(interp->ctx)->current_HLL);
new_namespace = Parrot_make_namespace_keyed(interp, hll_ns,
name_arg);
}
@@ -1142,9 +1142,9 @@
/* Check for overrides on the init or init_pmc vtable function and call
* them if they exist */
- if (PMC_IS_NULL(init))
+ if (PMC_IS_NULL(init))
initialize_parents(interp, object, _class->all_parents);
- else
+ else
initialize_parents_pmc(interp, object, _class->all_parents, init);
return object;
Modified: branches/pdd15oo/src/pmc/default.pmc
==============================================================================
--- branches/pdd15oo/src/pmc/default.pmc (original)
+++ branches/pdd15oo/src/pmc/default.pmc Thu Oct 4 15:28:26 2007
@@ -1033,7 +1033,7 @@
PMC *get_attr_keyed(PMC *key, STRING *name) {
return VTABLE_get_attr_str(INTERP, SELF, name);
}
-
+
void set_attr_keyed(PMC *key, STRING *name, PMC *value) {
VTABLE_set_attr_str(INTERP, SELF, name, value);
}
Modified: branches/pdd15oo/src/pmc/namespace.pmc
==============================================================================
--- branches/pdd15oo/src/pmc/namespace.pmc (original)
+++ branches/pdd15oo/src/pmc/namespace.pmc Thu Oct 4 15:28:26 2007
@@ -224,7 +224,7 @@
/* If it's a multi-sub... */
if (value->vtable->base_type == enum_class_MultiSub) {
Parrot_NSInfo *nsinfo = PARROT_NSINFO(SELF);
-
+
if (VTABLE_elements(interp, value) > 0) {
/* Extract the first alternate and check if it is a method */
Parrot_sub *sub = PMC_sub(VTABLE_get_pmc_keyed_int(interp,
value, 0));