summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2010-09-01 17:05:22 +0100
committerDavid Mitchell <davem@iabyn.com>2010-09-01 17:08:47 +0100
commit0d8a731b43920d391766e4459e6781103e0808cc (patch)
tree3db7a51ac25be8f2463af32cc9d6a31733570785 /pp_hot.c
parentf427b557f0f598ee6ff57dfc24080cf33d959242 (diff)
downloadperl-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 25a804a123..daaed7af4d 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -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;