[svn:parrot] r41869 - branches/pcc_reapply/src/pmc
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Thu Oct 15 02:44:12 UTC 2009
Author: mikehh
Date: Thu Oct 15 02:44:11 2009
New Revision: 41869
URL: https://trac.parrot.org/parrot/changeset/41869
Log:
fix codetest failures - unwrapped macro arguments and space between function name and parenthesis
Modified:
branches/pcc_reapply/src/pmc/callsignature.pmc
Modified: branches/pcc_reapply/src/pmc/callsignature.pmc
==============================================================================
--- branches/pcc_reapply/src/pmc/callsignature.pmc Thu Oct 15 01:56:33 2009 (r41868)
+++ branches/pcc_reapply/src/pmc/callsignature.pmc Thu Oct 15 02:44:11 2009 (r41869)
@@ -76,10 +76,10 @@
while (NEXT_CELL(c)) { \
c = NEXT_CELL(c); \
} \
- NEXT_CELL(c) = cell; \
+ NEXT_CELL(c) = (cell); \
} \
else \
- (a)->positionals = cell; \
+ (a)->positionals = (cell); \
} while (0)
#define PREPEND_CELL(SELF, cell) \
@@ -87,7 +87,7 @@
Parrot_CallSignature_attributes * const a = PARROT_CALLSIGNATURE(SELF);\
a->num_positionals++; \
NEXT_CELL(cell) = a->positionals; \
- a->positionals = cell; \
+ a->positionals = (cell); \
} while (0)
/* TODO: could use get_cell_at */
@@ -610,7 +610,7 @@
}
}
- VTABLE INTVAL elements () {
+ VTABLE INTVAL elements() {
Parrot_CallSignature_attributes * const attrs = PARROT_CALLSIGNATURE(SELF);
if (!attrs)
return 0;
More information about the parrot-commits
mailing list