summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-12 20:26:08 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-22 11:11:28 -0700
commit86f72d56e71cb202c98802b68923dfca4797c3e2 (patch)
tree10d09c56be441c5ebb8b9ef7515cc7a5c330347a /handy.h
parent9c0b68885345dfc017948c78b79c222b1468d96c (diff)
downloadperl-86f72d56e71cb202c98802b68923dfca4797c3e2.tar.gz
Use array for some inversion lists
This patch creates an array pointing to the inversion lists that cover the Latin-1 ranges for Posix character classes, and uses it instead of the individual variables previously referred to.
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index c8edc2b546..10f483ae94 100644
--- a/handy.h
+++ b/handy.h
@@ -801,6 +801,7 @@ typedef enum {
#endif
#define POSIX_SWASH_COUNT _FIRST_NON_SWASH_CC
+#define POSIX_CC_COUNT (_HIGHEST_REGCOMP_DOT_H_SYNC + 1)
#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C)
# if _CC_WORDCHAR != 0 || _CC_DIGIT != 1 || _CC_ALPHA != 2 || _CC_LOWER != 3 \