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

bacek at svn.parrot.org bacek at svn.parrot.org
Sun Oct 11 04:00:34 UTC 2009


Author: bacek
Date: Sun Oct 11 04:00:27 2009
New Revision: 41814
URL: https://trac.parrot.org/parrot/changeset/41814

Log:
[cage] Pass proper variable into exception

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 11 00:25:40 2009	(r41813)
+++ branches/pcc_reapply/src/call/args.c	Sun Oct 11 04:00:27 2009	(r41814)
@@ -1503,7 +1503,7 @@
             if (err_check)
                 Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
                         "too few returns: 0 passed, %d expected",
-                        result_count);
+                        return_count);
         }
         return;
     }


More information about the parrot-commits mailing list