[svn:parrot] r46095 - trunk/src

mikehh at svn.parrot.org mikehh at svn.parrot.org
Wed Apr 28 03:10:54 UTC 2010


Author: mikehh
Date: Wed Apr 28 03:10:54 2010
New Revision: 46095
URL: https://trac.parrot.org/parrot/changeset/46095

Log:
fix codetest failure - tabs in leading whitespace

Modified:
   trunk/src/oo.c

Modified: trunk/src/oo.c
==============================================================================
--- trunk/src/oo.c	Wed Apr 28 02:41:19 2010	(r46094)
+++ trunk/src/oo.c	Wed Apr 28 03:10:54 2010	(r46095)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2007-2009, Parrot Foundation.
+Copyright (C) 2007-2010, Parrot Foundation.
 $Id$
 
 =head1 NAME
@@ -1051,19 +1051,16 @@
         _class = VTABLE_get_pmc_keyed_int(interp, mro, i);
         ns     = VTABLE_get_namespace(interp, _class);
 
-	class_obj = VTABLE_inspect_str(interp, ns, class_str);
-	if (PMC_IS_NULL(class_obj))
-	    method_hash = VTABLE_inspect_str(interp, ns,
-		    methods_str);
-	else
-	    method_hash = VTABLE_inspect_str(interp, class_obj,
-		    methods_str);
-
-	if (!PMC_IS_NULL(method_hash))
-            method = VTABLE_get_pmc_keyed_str(interp, method_hash,
-			method_name);
+        class_obj = VTABLE_inspect_str(interp, ns, class_str);
+        if (PMC_IS_NULL(class_obj))
+            method_hash = VTABLE_inspect_str(interp, ns, methods_str);
+        else
+            method_hash = VTABLE_inspect_str(interp, class_obj, methods_str);
+
+        if (!PMC_IS_NULL(method_hash))
+            method = VTABLE_get_pmc_keyed_str(interp, method_hash, method_name);
 
-	if (PMC_IS_NULL(method))
+        if (PMC_IS_NULL(method))
             method = VTABLE_get_pmc_keyed_str(interp, ns, method_name);
 
         TRACE_FM(interp, _class, method_name, method);


More information about the parrot-commits mailing list