regcomp.c: Use mnemonic instead of hex value
authorKarl Williamson <public@khwilliamson.com>
Sun, 20 Mar 2011 17:26:14 +0000 (11:26 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 20 Mar 2011 18:16:13 +0000 (12:16 -0600)
regcomp.c

index 31354f6..1a2d2b2 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -9423,8 +9423,8 @@ S_set_regclass_bit_fold(pTHX_ RExC_state_t *pRExC_state, regnode* node, const U8
                                        LATIN_CAPITAL_LETTER_Y_WITH_DIAERESIS);
                break;
            case LATIN_SMALL_LETTER_SHARP_S:
-               /* 0x1E9E is LATIN CAPITAL LETTER SHARP S */
-               *invlist_ptr = add_cp_to_invlist(*invlist_ptr, 0x1E9E);
+               *invlist_ptr = add_cp_to_invlist(*invlist_ptr,
+                                       LATIN_CAPITAL_LETTER_SHARP_S);
 
                /* Under /a, /d, and /u, this can match the two chars "ss" */
                if (! MORE_ASCII_RESTRICTED) {