diff options
author | David Mitchell <davem@iabyn.com> | 2010-09-01 17:05:22 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-09-01 17:08:47 +0100 |
commit | 0d8a731b43920d391766e4459e6781103e0808cc (patch) | |
tree | 3db7a51ac25be8f2463af32cc9d6a31733570785 /pp_hot.c | |
parent | f427b557f0f598ee6ff57dfc24080cf33d959242 (diff) | |
download | perl-0d8a731b43920d391766e4459e6781103e0808cc.tar.gz |
pp_match: fix confusing layout in an if()
The
if (( !global
rather than
if ( (!global
made it hard to follow the precedence.
Tidy up the rest of the expression while I'm at it.
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1335,9 +1335,9 @@ PP(pp_match) /g matches against large strings. So far a solution to this problem appears to be quite tricky. Test for the unsafe vars are TODO for now. */ - if (( !global && RX_NPARENS(rx)) - || SvTEMP(TARG) || SvAMAGIC(TARG) || PL_sawampersand || - (RX_EXTFLAGS(rx) & (RXf_EVAL_SEEN|RXf_PMf_KEEPCOPY))) + if ( (!global && RX_NPARENS(rx)) + || SvTEMP(TARG) || SvAMAGIC(TARG) || PL_sawampersand + || (RX_EXTFLAGS(rx) & (RXf_EVAL_SEEN|RXf_PMf_KEEPCOPY))) r_flags |= REXEC_COPY_STR; if (SvSCREAM(TARG)) r_flags |= REXEC_SCREAM; |