This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Use computed value instead of hard-coded one
authorKarl Williamson <public@khwilliamson.com>
Thu, 13 Dec 2012 04:23:03 +0000 (21:23 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 22 Dec 2012 18:11:28 +0000 (11:11 -0700)
commite92ecb17b5267a746d4ccffc569ff1061bef62e5
tree25ee61ff02a191fcd212125d21b00490583eea96
parentf19b1a637e44fd8ab8bf44d8e1fbfd87274f7f6a
regcomp.c: Use computed value instead of hard-coded one

The cases of this switch have used the hard-coded character class
number, depending on which case it is.  However, there is a mapping from
the switch case value to its equivalent class number.  This changes to
use that mapping
regcomp.c