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
op_reg_common.h: Add guard to only expand once
[perl5.git]
/
scope.c
diff --git
a/scope.c
b/scope.c
index
80846b6
..
fb93db0
100644
(file)
--- a/
scope.c
+++ b/
scope.c
@@
-187,7
+187,7
@@
S_save_scalar_at(pTHX_ SV **sptr, const U32 flags)
(SVp_IOK|SVp_NOK|SVp_POK)) >> PRIVSHIFT;
}
if (!(flags & SAVEf_KEEPOLDELEM))
- mg_localize(osv, sv,
(flags & SAVEf_SETMAGIC) != 0
);
+ mg_localize(osv, sv,
cBOOL(flags & SAVEf_SETMAGIC)
);
}
return sv;