diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-10-31 13:37:11 -0600 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-31 16:18:39 -0700 |
commit | 4b844e06c99d9c2e251dde1c8abc47508b801786 (patch) | |
tree | 14a7f382cdfa51ab5121359366611da8889ba1ee /regcomp.h | |
parent | e051a21d2458b5ce83206336c2ee2d39013b8d1b (diff) | |
download | perl-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.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 */ |