summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-06-23 21:48:07 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-06-24 08:19:26 -0700
commitd3d7d28f48f0f4ec3f5cf5d018255ea731f01f56 (patch)
treeefd138ff1d329dceb01d8831d5a3efdbc0cf86fc /op.h
parent63983e4c95135b2dd0fa466c28136f053046a340 (diff)
downloadperl-d3d7d28f48f0f4ec3f5cf5d018255ea731f01f56.tar.gz
op_lvalue .= _flags
Add flags param to op_lvalue, so that the caller can ask it not to croak when encountering an unmodifiable op (upcoming). This is in preparation for making the \$ prototype accept any lvalue. There is no mathom, as the changes that this will support are by no means suitable for maint.
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/op.h b/op.h
index 0d03efda6f..24463a8fd4 100644
--- a/op.h
+++ b/op.h
@@ -763,6 +763,8 @@ preprocessing token; the type of I<arg> depends on I<which>.
#define RV2CVOPCV_MARK_EARLY 0x00000001
#define RV2CVOPCV_RETURN_NAME_GV 0x00000002
+#define op_lvalue(op,t) Perl_op_lvalue_flags(aTHX_ op,t,0)
+
/*
=head1 Custom Operators