summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorGerard Goossen <gerard@ggoossen.net>2011-08-31 15:55:26 +0200
committerFather Chrysostomos <sprout@cpan.org>2011-09-01 12:45:11 -0700
commit0e9700df31679b575960004d0c9d53e4f67341b3 (patch)
treea173c48eb7c8aaec2532c0b2b58d70c639630960 /op.h
parent6c5d44995b59b5064afd13d482ddd637f85f4db5 (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index 70b6358808..903f7cd60c 100644
--- a/op.h
+++ b/op.h
@@ -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 */