develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35729 - trunk/src

From:
julianalbo
Date:
January 18, 2009 14:59
Subject:
[svn:parrot] r35729 - trunk/src
Message ID:
20090118225919.69884CB9AE@x12.develooper.com
Author: julianalbo
Date: Sun Jan 18 14:59:18 2009
New Revision: 35729

Modified:
   trunk/src/sub.c

Log:
don't throw_from_op if not inside an op

Modified: trunk/src/sub.c
==============================================================================
--- trunk/src/sub.c	(original)
+++ trunk/src/sub.c	Sun Jan 18 14:59:18 2009
@@ -738,7 +738,7 @@
         if (sub_pmc->vtable->base_type == enum_class_Sub)
             return (Parrot_sub *)PMC_struct_val(sub_pmc);
     }
-    Parrot_ex_throw_from_op_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
+    Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
             "Attempting to do sub operation on non-Sub.");
 }
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About