summaryrefslogtreecommitdiff
path: root/proto.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 /proto.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 'proto.h')
-rw-r--r--proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 9d47ba5c85..8fc49deea1 100644
--- a/proto.h
+++ b/proto.h
@@ -2765,7 +2765,8 @@ PERL_CALLCONV OP* Perl_op_linklist(pTHX_ OP *o)
#define PERL_ARGS_ASSERT_OP_LINKLIST \
assert(o)
-PERL_CALLCONV OP* Perl_op_lvalue(pTHX_ OP* o, I32 type);
+/* PERL_CALLCONV OP* op_lvalue(pTHX_ OP* o, I32 type); */
+PERL_CALLCONV OP* Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
PERL_CALLCONV void Perl_op_null(pTHX_ OP* o)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_OP_NULL \