summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-10-31 13:37:11 -0600
committerFather Chrysostomos <sprout@cpan.org>2010-10-31 16:18:39 -0700
commit4b844e06c99d9c2e251dde1c8abc47508b801786 (patch)
tree14a7f382cdfa51ab5121359366611da8889ba1ee /regcomp.h
parente051a21d2458b5ce83206336c2ee2d39013b8d1b (diff)
downloadperl-4b844e06c99d9c2e251dde1c8abc47508b801786.tar.gz
regcomp.h: Remove unused #define
ANYOF_RUNTIME() is no longer used, so can be removed. I had long tried to figure out what the purpose of this was, and discovered it really had none. I think it must have had something to do with locales at one time. But locales don't do well with utf8, and I don't know how to make it better. In any event this wasn't actually accomplishing anything.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/regcomp.h b/regcomp.h
index 06e179dca6..8f0b828d37 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -326,9 +326,6 @@ struct regnode_charclass_class {
#define ANYOF_UNICODE 0x20 /* Matches >= one thing past 0xff */
#define ANYOF_UNICODE_ALL 0x40 /* Matches 0x100 - infinity */
-/* Are there any runtime flags on in this node? */
-#define ANYOF_RUNTIME(s) (ANYOF_FLAGS(s) & 0x0f)
-
#define ANYOF_FLAGS_ALL 0xff
/* Character classes for node->classflags of ANYOF */