diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-12-11 13:05:04 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-12-22 11:11:26 -0700 |
commit | 63c61c3fe04eb423aaa8e9895c20e220f86c6593 (patch) | |
tree | 82944cb6fb6be32665f4b2770aebb50055bf2b63 /handy.h | |
parent | e3d474b7de6268afa57fb09352d3082a13d99d0c (diff) | |
download | perl-63c61c3fe04eb423aaa8e9895c20e220f86c6593.tar.gz |
intrpvar.h: Place some swash pointers in an array
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -791,6 +791,18 @@ typedef enum { } _char_class_number; #endif +#define POSIX_SWASH_COUNT _FIRST_NON_SWASH_CC + +#define PL_utf8_alnum PL_utf8_swash_ptrs[_CC_WORDCHAR] +#define PL_utf8_alnumc PL_utf8_swash_ptrs[_CC_ALNUMC] +#define PL_utf8_alpha PL_utf8_swash_ptrs[_CC_ALPHA] +#define PL_utf8_graph PL_utf8_swash_ptrs[_CC_GRAPH] +#define PL_utf8_digit PL_utf8_swash_ptrs[_CC_DIGIT] +#define PL_utf8_upper PL_utf8_swash_ptrs[_CC_UPPER] +#define PL_utf8_lower PL_utf8_swash_ptrs[_CC_LOWER] +#define PL_utf8_print PL_utf8_swash_ptrs[_CC_PRINT] +#define PL_utf8_punct PL_utf8_swash_ptrs[_CC_PUNCT] + # ifdef DOINIT EXTCONST U32 PL_charclass[] = { # include "l1_char_class_tab.h" |