This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Refactor slightly for clarity
authorKarl Williamson <public@khwilliamson.com>
Sun, 7 Oct 2012 20:08:42 +0000 (14:08 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 9 Oct 2012 17:16:06 +0000 (11:16 -0600)
commit3337dfe33afadc0861b0d4a8184d2dc22ef3f9d6
treedb43cb6c642c34cdd86a7c1373d3e6aaafe71de8
parent4cbf4130b603602204e51a4eaae4cab886651611
regexec.c: Refactor slightly for clarity

This reverses the sense of an if...else, so that the tiny trivial code
is done after the 'if', and the larger, non-trivial part is done in the
else.  This makes it easier to understand.  It also is clear that the
label and goto are no longer needed, if they ever were.
regexec.c