This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[perl #126633] check children of OA_DANGEROUS ops for common scalars
[perl5.git]
/
op.c
diff --git
a/op.c
b/op.c
index
1b78a4c
..
ee31adc
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-12343,7
+12343,8
@@
S_aassign_scan(pTHX_ OP* o, bool rhs, bool top, int *scalars_p)
default:
if (PL_opargs[o->op_type] & OA_DANGEROUS) {
(*scalars_p) += 2;
- return AAS_DANGEROUS;
+ flags = AAS_DANGEROUS;
+ break;
}
if ( (PL_opargs[o->op_type] & OA_TARGLEX)