diff options
author | David Mitchell <davem@iabyn.com> | 2012-09-01 11:23:58 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-09-08 15:42:07 +0100 |
commit | fbfb1899dd79253696b441cc1c4968a1057c2574 (patch) | |
tree | 18d46c1a1e09a03ef638b31bff844f3004fca005 /META.yml | |
parent | a41aa44d9dc4a3ba586d871754bd11137bdc37a2 (diff) | |
download | perl-fbfb1899dd79253696b441cc1c4968a1057c2574.tar.gz |
tidy up patten match copying code
(no functional changes).
1. Remove some dead code from pp_split; it's protected by an assert
that it could never be called.
2. Simplify the flags settings for the call to CALLREGEXEC() in
pp_substcont: on subsequent matches we always set REXEC_NOT_FIRST,
which forces the regex engine not to copy anyway, so passing the
REXEC_COPY_STR is pointless, as is the conditional code to set it.
3. (whitespace change): split a conditional expression over 2 lines
for easier reading.
Diffstat (limited to 'META.yml')
0 files changed, 0 insertions, 0 deletions