[svn:parrot] r47742 - trunk/src/pmc
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Mon Jun 21 17:28:21 UTC 2010
Author: NotFound
Date: Mon Jun 21 17:28:21 2010
New Revision: 47742
URL: https://trac.parrot.org/parrot/changeset/47742
Log:
no magic numbers
Modified:
trunk/src/pmc/hashiterator.pmc
Modified: trunk/src/pmc/hashiterator.pmc
==============================================================================
--- trunk/src/pmc/hashiterator.pmc Mon Jun 21 17:18:55 2010 (r47741)
+++ trunk/src/pmc/hashiterator.pmc Mon Jun 21 17:28:21 2010 (r47742)
@@ -172,7 +172,7 @@
Parrot_HashIterator_attributes * const attrs =
PARROT_HASHITERATOR(SELF);
- if (value == 0) {
+ if (value == ITERATE_FROM_START) {
/* Restart iterator */
attrs->bucket = 0;
attrs->pos = 0;
More information about the parrot-commits
mailing list