summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-19 23:11:12 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-19 23:11:12 +0000
commit0282be9287c81efde41d8df3c62f1c95bb459498 (patch)
tree2035bee321e1f2d0d35ddcdf2b71da025e4796ab /op.h
parent696814337d4eac8d0663d5307d6e01964d1b2897 (diff)
downloadperl-0282be9287c81efde41d8df3c62f1c95bb459498.tar.gz
Let %^H be modifiable in eval-strings (bug #41531),
by adding a meaning for OPf_SPECIAL on OP_CONST. Patch by Yves Orton. p4raw-id: //depot/perl@30644
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/op.h b/op.h
index 1505932e72..3c7799932a 100644
--- a/op.h
+++ b/op.h
@@ -111,6 +111,8 @@ Deprecated. Use C<GIMME_V> instead.
#define OPf_STACKED 64 /* Some arg is arriving on the stack. */
#define OPf_SPECIAL 128 /* Do something weird for this op: */
/* On local LVAL, don't init local value. */
+ /* On OP_CONST, value is the hints hash for
+ eval, so return a copy from pp_const() */
/* On OP_SORT, subroutine is inlined. */
/* On OP_NOT, inversion was implicit. */
/* On OP_LEAVE, don't restore curpm. */