[svn:parrot] r41811 - branches/pcc_reapply/src/call

tene at svn.parrot.org tene at svn.parrot.org
Sat Oct 10 23:39:03 UTC 2009


Author: tene
Date: Sat Oct 10 23:39:00 2009
New Revision: 41811
URL: https://trac.parrot.org/parrot/changeset/41811

Log:
[pcc] Don't fail on extra named args

Modified:
   branches/pcc_reapply/src/call/args.c

Modified: branches/pcc_reapply/src/call/args.c
==============================================================================
--- branches/pcc_reapply/src/call/args.c	Sat Oct 10 23:09:00 2009	(r41810)
+++ branches/pcc_reapply/src/call/args.c	Sat Oct 10 23:39:00 2009	(r41811)
@@ -1161,6 +1161,8 @@
         param_index++;
     }
 
+    return; /* NO ERROR CHECKING for extra named parameters */
+#if 0
     /* 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"));
@@ -1197,6 +1199,7 @@
             }
         }
     }
+#endif
 }
 
 /*


More information about the parrot-commits mailing list