diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-18 21:25:42 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-18 22:10:10 -0400 |
commit | c77ed9ca79ef772961f511a2176824386a19b6d1 (patch) | |
tree | 42c9fb222d97c368beed28fe796cbbd0c5f17ba6 /sv.h | |
parent | 5d288d736c2758c27a5943647f4a524f0e93a642 (diff) | |
download | perl-c77ed9ca79ef772961f511a2176824386a19b6d1.tar.gz |
Parenthesize & and | a bit.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1680,15 +1680,15 @@ Like sv_utf8_upgrade, but doesn't do magic on C<sv>. #define SvPV_flags_const(sv, lp, flags) \ (SvPOK_nog(sv) \ ? ((lp = SvCUR(sv)), SvPVX_const(sv)) : \ - (const char*) sv_2pv_flags(sv, &lp, flags|SV_CONST_RETURN)) + (const char*) sv_2pv_flags(sv, &lp, (flags|SV_CONST_RETURN))) #define SvPV_flags_const_nolen(sv, flags) \ (SvPOK_nog(sv) \ ? SvPVX_const(sv) : \ - (const char*) sv_2pv_flags(sv, 0, flags|SV_CONST_RETURN)) + (const char*) sv_2pv_flags(sv, 0, (flags|SV_CONST_RETURN))) #define SvPV_flags_mutable(sv, lp, flags) \ (SvPOK_nog(sv) \ ? ((lp = SvCUR(sv)), SvPVX_mutable(sv)) : \ - sv_2pv_flags(sv, &lp, flags|SV_MUTABLE_RETURN)) + sv_2pv_flags(sv, &lp, (flags|SV_MUTABLE_RETURN))) #define SvPV_force(sv, lp) SvPV_force_flags(sv, lp, SV_GMAGIC) #define SvPV_force_nolen(sv) SvPV_force_flags_nolen(sv, SV_GMAGIC) |