This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Combine adjacent 'ifs' with same clause
authorKarl Williamson <public@khwilliamson.com>
Wed, 19 Dec 2012 20:54:16 +0000 (13:54 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 22 Dec 2012 18:11:33 +0000 (11:11 -0700)
commit5ac65bffc18d1c86e719feb45600a976e397ac76
treec1821bfe6314c14dcf35ee5e936e16f9edd05edc
parent23366835ed707497971521498546af6172771e3e
regexec.c: Combine adjacent 'ifs' with same clause

These two instances of 'if (a) { b } if (c) { b }  are combined to
    if (a || c) { b }

The final instance is made into an else since the 'if' before it does a
break, so that the break is eliminated.
regexec.c