[svn:parrot] r40107 - in trunk/src: . pmc
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Wed Jul 15 15:06:54 UTC 2009
Author: NotFound
Date: Wed Jul 15 15:06:53 2009
New Revision: 40107
URL: https://trac.parrot.org/parrot/changeset/40107
Log:
[cage] codingstd parens
Modified:
trunk/src/hash.c
trunk/src/pmc/orderedhashiterator.pmc
Modified: trunk/src/hash.c
==============================================================================
--- trunk/src/hash.c Wed Jul 15 15:01:38 2009 (r40106)
+++ trunk/src/hash.c Wed Jul 15 15:06:53 2009 (r40107)
@@ -1309,13 +1309,10 @@
|| (
(
!(hash->key_type == Hash_key_type_STRING)
- || PObj_constant_TEST((PObj *)key)
- )
+ || PObj_constant_TEST((PObj *)key))
&& (
!((hash->entry_type == enum_type_PMC) || (hash->entry_type == enum_type_STRING))
- || PObj_constant_TEST((PObj *)value)
- )
- )
+ || PObj_constant_TEST((PObj *)value)))
|| !"Use non-constant key or value in constant hash");
while (bucket) {
Modified: trunk/src/pmc/orderedhashiterator.pmc
==============================================================================
--- trunk/src/pmc/orderedhashiterator.pmc Wed Jul 15 15:01:38 2009 (r40106)
+++ trunk/src/pmc/orderedhashiterator.pmc Wed Jul 15 15:06:53 2009 (r40107)
@@ -193,7 +193,7 @@
do {
bucket = attrs->parrot_hash->bs + attrs->pos++;
attrs->elements--;
- } while(attrs->elements && !bucket->key);
+ } while (attrs->elements && !bucket->key);
/* Reuse HashIteratorKey */
ret = pmc_new(INTERP, enum_class_HashIteratorKey);
More information about the parrot-commits
mailing list