diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-06-23 21:48:07 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-06-24 08:19:26 -0700 |
commit | d3d7d28f48f0f4ec3f5cf5d018255ea731f01f56 (patch) | |
tree | efd138ff1d329dceb01d8831d5a3efdbc0cf86fc /proto.h | |
parent | 63983e4c95135b2dd0fa466c28136f053046a340 (diff) | |
download | perl-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 \ |