diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-07 08:06:08 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-07 19:40:38 +0800 |
commit | 3c1759e470b2636903c76b2d75c47cfe28f5e017 (patch) | |
tree | a8a647c79c51d5c270f857d0194bee5272735384 /sv.h | |
parent | 2da014bc9fd80ae0453878c6cca2e22309637641 (diff) | |
download | perl-3c1759e470b2636903c76b2d75c47cfe28f5e017.tar.gz |
perl.h - make sure macros using negation are paren wrapped
Noticed by Zefram
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1226,7 +1226,7 @@ C<sv_force_normal> does nothing. #define SvTHINKFIRST(sv) (SvFLAGS(sv) & SVf_THINKFIRST) #define SVs_PADMY 0 -#define SvPADMY(sv) !(SvFLAGS(sv) & SVs_PADTMP) +#define SvPADMY(sv) (!(SvFLAGS(sv) & SVs_PADTMP)) #ifndef PERL_CORE # define SvPADMY_on(sv) SvPADTMP_off(sv) #endif |