diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-11-13 17:21:14 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-22 13:32:52 -0800 |
commit | 3ff7ceb302af0696dab5b544b884cc950eaa6f13 (patch) | |
tree | 7934d61a67b88fd8a3e5763c1defe0990d5e52b3 /regcomp.h | |
parent | 3871f40bf5bbc33b83c9d4da28b28ab838a0006a (diff) | |
download | perl-3ff7ceb302af0696dab5b544b884cc950eaa6f13.tar.gz |
rename ANYOF_UNICODE to ANYOF_NONBITMAP
I am about the hone the meaning of this to mean that there is something
outside the bitmap that is matchable by the node, and the new name
reflects that more accurately.
I am not retaining the old name because I'm about to remove it from the
flags field to save a bit and avoid masking operations, and any code
that would be using it would break at that point.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -326,7 +326,10 @@ struct regnode_charclass_class { /* EOS used for regstclass only */ #define ANYOF_EOS 0x10 /* Can match an empty string too */ -#define ANYOF_UNICODE 0x20 /* Matches >= one thing past 0xff */ +/* Set if the bitmap doesn't fully represent what this node can match */ +#define ANYOF_NONBITMAP 0x20 +#define ANYOF_UNICODE ANYOF_NONBITMAP /* old name, for back compat */ + #define ANYOF_UNICODE_ALL 0x40 /* Matches 0x100 - infinity */ #define ANYOF_FLAGS_ALL 0xff |