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

bacek at svn.parrot.org bacek at svn.parrot.org
Fri Oct 9 22:22:12 UTC 2009


Author: bacek
Date: Fri Oct  9 22:22:10 2009
New Revision: 41773
URL: https://trac.parrot.org/parrot/changeset/41773

Log:
[cage] Fix copy-pasted error: in fill_returns we should check RESULT_COUNT_FLAG, not PARAM_COUNT_FLAG.

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

Modified: branches/pcc_reapply/src/call/args.c
==============================================================================
--- branches/pcc_reapply/src/call/args.c	Fri Oct  9 19:15:59 2009	(r41772)
+++ branches/pcc_reapply/src/call/args.c	Fri Oct  9 22:22:10 2009	(r41773)
@@ -1370,7 +1370,7 @@
 
     /* Check if we should be throwing errors. This is configured separately
      * for parameters and return values. */
-    if (PARROT_ERRORS_test(interp, PARROT_ERRORS_PARAM_COUNT_FLAG))
+    if (PARROT_ERRORS_test(interp, PARROT_ERRORS_RESULT_COUNT_FLAG))
             err_check = 1;
 
     /* A null call object is fine if there are no returns and no results. */


More information about the parrot-commits mailing list