diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-03-01 14:01:27 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2015-03-01 14:01:27 -0800 |
commit | 57db463f603fcd67bf53a35aa482bb24aa2c6950 (patch) | |
tree | a542917cc078a209238c44a0ddc736f468649672 /regen | |
parent | 9f021be64d99e25c9277e6c3e36d224ca74edaed (diff) | |
download | perl-57db463f603fcd67bf53a35aa482bb24aa2c6950.tar.gz |
[perl #123848] Allow OPpTARGET_MY on qr
// in the scope of lexical $_ gets the OPpTARGET_MY flag set. If it
is used as an operand to smartmatch, it gets converted to a qr op.
There is no need to turn off the flag, since it is harmless at run
time. But we need to allow the flag on this op type to avoid asser-
tion failures when it is freed.
Diffstat (limited to 'regen')
-rw-r--r-- | regen/op_private | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/op_private b/regen/op_private index 5a95555099..06ebca6f76 100644 --- a/regen/op_private +++ b/regen/op_private @@ -381,7 +381,7 @@ addbits($_, 4 => qw(OPpTARGET_MY TARGMY)) for ops_with_flag('T'), # This flag is also used to indicate matches against implicit $_, # where $_ is lexical; e.g. my $_; ....; /foo/ - qw(match subst pushre trans transr); + qw(match subst pushre qr trans transr); ; |