diff options
author | Gerard Goossen <gerard@ggoossen.net> | 2011-08-31 15:55:26 +0200 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-09-01 12:45:11 -0700 |
commit | 0e9700df31679b575960004d0c9d53e4f67341b3 (patch) | |
tree | a173c48eb7c8aaec2532c0b2b58d70c639630960 /op.h | |
parent | 6c5d44995b59b5064afd13d482ddd637f85f4db5 (diff) | |
download | perl-0e9700df31679b575960004d0c9d53e4f67341b3.tar.gz |
Use OPpDEREF for lvalue sub, such that the flags contains the deref type, instead of deriving it from the opchain.
Also contains a test where using the opchain to determine the deref
type fails.
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ Deprecated. Use C<GIMME_V> instead. #define OPpENTERSUB_DB 16 /* Debug subroutine. */ #define OPpENTERSUB_HASTARG 4 /* Called from OP tree. */ #define OPpENTERSUB_INARGS 1 /* Lval used as arg to a sub. */ -#define OPpENTERSUB_DEREF 32 /* Lval call that autovivifies. */ +/* used by OPpDEREF (32|64) */ /* used by HINT_STRICT_SUBS 2 */ /* Mask for OP_ENTERSUB flags, the absence of which must be propagated in dynamic context */ |