This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Use calculated value instead of hard-coded
authorKarl Williamson <public@khwilliamson.com>
Thu, 13 Dec 2012 15:41:02 +0000 (08:41 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 22 Dec 2012 18:11:28 +0000 (11:11 -0700)
commit2f8c7757f700b94de85ffd5779a11fdd3f75a269
tree8b3afc0d497a418c141c6b29131894113ca1d9a2
parent9e0bec062b2fc2a98efe7910ecc6ed59d48a1b52
regcomp.c: Use calculated value instead of hard-coded

After this commit, these two cases in the switch are identical, and can
be collapsed.  This also reverses the sense of the 'if', to avoid a
negative, which is harder to read.
regcomp.c