diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-08-02 22:11:08 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-09-15 22:45:04 -0700 |
commit | 13f89586fe60fad5f4be3e8b89d5e605a7552658 (patch) | |
tree | 83bc7b0ad6e7e149f18bdc9ffeb99df55557259e /regen/opcode.pl | |
parent | ecf9c8b78fdc5245e639ddb2830e8e43cda480b9 (diff) | |
download | perl-13f89586fe60fad5f4be3e8b89d5e605a7552658.tar.gz |
Add clonecv op type
This will be used for cloning a ‘my’ sub on scope entry.
I was going to use pp_padcv for this, but it would end up having a
top-level if/else.
Diffstat (limited to 'regen/opcode.pl')
-rwxr-xr-x | regen/opcode.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/opcode.pl b/regen/opcode.pl index 7401562dd5..a081c64784 100755 --- a/regen/opcode.pl +++ b/regen/opcode.pl @@ -44,7 +44,7 @@ while (<OPS>) { $args = '' unless defined $args; warn qq[Description "$desc" duplicates $seen{$desc}\n] - if $seen{$desc} and $key !~ "transr|introcv"; + if $seen{$desc} and $key !~ "transr|(?:intro|clone)cv"; die qq[Opcode "$key" duplicates $seen{$key}\n] if $seen{$key}; die qq[Opcode "freed" is reserved for the slab allocator\n] if $key eq 'freed'; |