summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-06-23 21:58:29 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-06-24 08:19:27 -0700
commitf5d552b480dda142e3e1fc3a463194ebdf0b8b3e (patch)
tree7dc33e498e2eedbbf97ae76f7ef3147b9240c39c /op.h
parentd3d7d28f48f0f4ec3f5cf5d018255ea731f01f56 (diff)
downloadperl-f5d552b480dda142e3e1fc3a463194ebdf0b8b3e.tar.gz
Make Perl_op_lvalue_flags provide a no-croak option
This is in preparation for making the \$ prototype accept any lvalue.
Diffstat (limited to 'op.h')
-rw-r--r--op.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/op.h b/op.h
index 24463a8fd4..ce17bd53f2 100644
--- a/op.h
+++ b/op.h
@@ -765,6 +765,10 @@ preprocessing token; the type of I<arg> depends on I<which>.
#define op_lvalue(op,t) Perl_op_lvalue_flags(aTHX_ op,t,0)
+/* flags for op_lvalue_flags */
+
+#define OP_LVALUE_NO_CROAK 1
+
/*
=head1 Custom Operators