diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-11-11 15:56:24 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-22 13:32:49 -0800 |
commit | 1984f6a0da860b942fa005f036aa270d0a14fcfc (patch) | |
tree | 332af8d2d148fc8afa0df5d86eb05eafe2213d54 /regcomp.h | |
parent | 298d65111ee12fde3fed852c9fd487b479c7d919 (diff) | |
download | perl-1984f6a0da860b942fa005f036aa270d0a14fcfc.tar.gz |
regcomp.h: Reorder statements for clarity
Reorder #defines of bits so are in numerical order
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -314,11 +314,13 @@ struct regnode_charclass_class { /* Flags for node->flags of ANYOF */ -#define ANYOF_CLASS 0x08 /* has runtime \d, \w, [:posix:], ... */ -#define ANYOF_LARGE ANYOF_CLASS /* Same; name retained for back compat */ -#define ANYOF_INVERT 0x04 -#define ANYOF_FOLD 0x02 #define ANYOF_LOCALE 0x01 +#define ANYOF_FOLD 0x02 +#define ANYOF_INVERT 0x04 + +/* CLASS is never set unless LOCALE is too: has runtime \d, \w, [:posix:], ... */ +#define ANYOF_CLASS 0x08 +#define ANYOF_LARGE ANYOF_CLASS /* Same; name retained for back compat */ /* EOS used for regstclass only */ #define ANYOF_EOS 0x10 /* Can match an empty string too */ |