[svn:parrot] r41701 - branches/pcc_reapply/src/call
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Sun Oct 4 17:40:23 UTC 2009
Author: whiteknight
Date: Sun Oct 4 17:40:23 2009
New Revision: 41701
URL: https://trac.parrot.org/parrot/changeset/41701
Log:
[pcc] fix CONST_STRING spread across multiple lines
Modified:
branches/pcc_reapply/src/call/args.c
Modified: branches/pcc_reapply/src/call/args.c
==============================================================================
--- branches/pcc_reapply/src/call/args.c Sun Oct 4 17:22:30 2009 (r41700)
+++ branches/pcc_reapply/src/call/args.c Sun Oct 4 17:40:23 2009 (r41701)
@@ -924,7 +924,7 @@
/* Check if we've used up all the parameters. We'll check for leftover
* named args after the loop. */
if (param_index >= param_count)
- break;
+ break;
param_flags = VTABLE_get_integer_keyed_int(interp, raw_sig, param_index);
@@ -1041,8 +1041,7 @@
/* Double check that all named arguments were assigned to parameters. */
if (err_check) {
- PMC *named_arg_list = VTABLE_get_attr_str(interp,
- call_object, CONST_STRING(interp, "named"));
+ PMC *named_arg_list = VTABLE_get_attr_str(interp, call_object, CONST_STRING(interp, "named"));
if (!PMC_IS_NULL(named_arg_list)) {
INTVAL named_arg_count = VTABLE_elements(interp, named_arg_list);
if (named_arg_count > named_count) {
More information about the parrot-commits
mailing list