summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-08-28 18:19:56 -0600
committerKarl Williamson <khw@cpan.org>2014-09-03 12:43:15 -0600
commitf64bdbe57e6dafabd081fc3815ae72a00ebd03e6 (patch)
treeaa693f684409134ed6c99529897101645b059601 /regcomp.h
parentbc51fd7848385e58210a13810ef5ac6f01f70afb (diff)
downloadperl-f64bdbe57e6dafabd081fc3815ae72a00ebd03e6.tar.gz
regcomp.h: Remove some no-longer used #defines
This is an internal header, so can change names within it.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/regcomp.h b/regcomp.h
index 9a8b61e194..055a56d614 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -390,8 +390,6 @@ struct regnode_ssc {
* and the optimizer's synthetic start class. Non-locale \d, etc are resolved
* at compile-time */
#define ANYOF_POSIXL 0x08
-#define ANYOF_CLASS ANYOF_POSIXL
-#define ANYOF_LARGE ANYOF_POSIXL
/* Should we raise a warning if matching against an above-Unicode code point?
* */
@@ -402,7 +400,6 @@ struct regnode_ssc {
/* Matches every code point 0x100 and above*/
#define ANYOF_ABOVE_LATIN1_ALL 0x40
-#define ANYOF_UNICODE_ALL ANYOF_ABOVE_LATIN1_ALL
/* Match all Latin1 characters that aren't ASCII when the target string is not
* in utf8. */
@@ -552,13 +549,6 @@ struct regnode_ssc {
memset (ANYOF_BITMAP(p), 255, ANYOF_BITMAP_SIZE)
#define ANYOF_BITMAP_CLEARALL(p) \
Zero (ANYOF_BITMAP(p), ANYOF_BITMAP_SIZE)
-#if ANYOF_BITMAP_SIZE == 32
-/* Check that all 256 bits are all set. */
-# define ANYOF_BITMAP_TESTALLSET(p) /* Assumes sizeof(p) == 32 */ \
- memEQ (ANYOF_BITMAP(p), "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377", ANYOF_BITMAP_SIZE)
-#else
-# error Need to fix this if raise bitmap size. (As of this writing this macro is unused in the core)
-#endif
#define ANYOF_SKIP ((ANYOF_SIZE - 1)/sizeof(regnode))
#define ANYOF_POSIXL_SKIP ((ANYOF_POSIXL_SIZE - 1)/sizeof(regnode))