summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-10-26 23:58:42 +0100
committerFather Chrysostomos <sprout@cpan.org>2010-10-26 20:22:50 -0700
commit3ad73efd7b04b72db7f9f29e241e3ed4b806e132 (patch)
treef63fae393f602974377618f63eb869c7d1ef3e5e /op.h
parent2c63ecadcb2533b7a53efa836736d86cb484d969 (diff)
downloadperl-3ad73efd7b04b72db7f9f29e241e3ed4b806e132.tar.gz
new API functions op_scope and op_lvalue
The function scope() goes into the API as op_scope(), and mod() goes into the API as op_lvalue(). Both marked experimental, because their behaviour is a little quirky and not trivially dequirkable.
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 5135ff0c24..dba5f0886a 100644
--- a/op.h
+++ b/op.h
@@ -201,7 +201,7 @@ Deprecated. Use C<GIMME_V> instead.
/* OP_ENTERSUB only */
#define OPpENTERSUB_DB 16 /* Debug subroutine. */
#define OPpENTERSUB_HASTARG 32 /* Called from OP tree. */
-#define OPpENTERSUB_NOMOD 64 /* Immune to mod() for :attrlist. */
+#define OPpENTERSUB_NOMOD 64 /* Immune to op_lvalue() for :attrlist. */
/* OP_ENTERSUB and OP_RV2CV only */
#define OPpENTERSUB_AMPER 8 /* Used & form to call. */
#define OPpENTERSUB_NOPAREN 128 /* bare sub call (without parens) */