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.");
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.