[svn:parrot] r40090 - in branches/tt761_keys_revamp/src: . pmc

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Wed Jul 15 00:07:18 UTC 2009


Author: jkeenan
Date: Wed Jul 15 00:07:16 2009
New Revision: 40090
URL: https://trac.parrot.org/parrot/changeset/40090

Log:
Make file conform to codingstd:  c_parens.

Modified:
   branches/tt761_keys_revamp/src/hash.c
   branches/tt761_keys_revamp/src/pmc/iterator.pmc

Modified: branches/tt761_keys_revamp/src/hash.c
==============================================================================
--- branches/tt761_keys_revamp/src/hash.c	Tue Jul 14 23:17:12 2009	(r40089)
+++ branches/tt761_keys_revamp/src/hash.c	Wed Jul 15 00:07:16 2009	(r40090)
@@ -1310,10 +1310,8 @@
             || PObj_constant_TEST((PObj *)key))
         && (
             !((hash->entry_type == enum_type_PMC) || (hash->entry_type == enum_type_STRING))
-            || PObj_constant_TEST((PObj *)value)
-        )
-        || !"Use non-constant key or value in constant hash"
-    );
+            || PObj_constant_TEST((PObj *)value))
+        || !"Use non-constant key or value in constant hash");
 
     while (bucket) {
         /* store hash_val or not */

Modified: branches/tt761_keys_revamp/src/pmc/iterator.pmc
==============================================================================
--- branches/tt761_keys_revamp/src/pmc/iterator.pmc	Tue Jul 14 23:17:12 2009	(r40089)
+++ branches/tt761_keys_revamp/src/pmc/iterator.pmc	Wed Jul 15 00:07:16 2009	(r40090)
@@ -88,8 +88,7 @@
     VTABLE void init_pmc(PMC *aggregate) {
         if (VTABLE_does(INTERP, aggregate, CONST_STRING(INTERP, "array"))
             || VTABLE_does(INTERP, aggregate, CONST_STRING(INTERP, "hash"))
-            || VTABLE_does(INTERP, aggregate, CONST_STRING(INTERP, "string"))
-            ) {
+            || VTABLE_does(INTERP, aggregate, CONST_STRING(INTERP, "string"))) {
             /* It's ugly hack... But I cant figure out proper way to do it. */
             PMC *real_iter = VTABLE_get_iter(INTERP, aggregate);
             SELF = pmc_reuse_init(INTERP, SELF, VTABLE_type(INTERP, real_iter), aggregate, 0);


More information about the parrot-commits mailing list