diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-28 17:11:31 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-28 17:41:15 -0700 |
commit | 00b27cfcf04d3cbe5327f810377c46c2007c10d5 (patch) | |
tree | 31c56ecc4a0fab3562df6ff656590e70f94f89f0 | |
parent | 9fa196e11dd896d12236f0f566c5c556473e1cdc (diff) | |
download | perl-00b27cfcf04d3cbe5327f810377c46c2007c10d5.tar.gz |
regcomp.c: Add comment, reorder #define more logically
-rw-r--r-- | regcomp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -382,9 +382,11 @@ static const scan_data_t zero_scan_data = #define SCF_SEEN_ACCEPT 0x8000 #define UTF cBOOL(RExC_utf8) + +/* The enums for all these are ordered so things work out correctly */ #define LOC (get_regex_charset(RExC_flags) == REGEX_LOCALE_CHARSET) -#define UNI_SEMANTICS (get_regex_charset(RExC_flags) == REGEX_UNICODE_CHARSET) #define DEPENDS_SEMANTICS (get_regex_charset(RExC_flags) == REGEX_DEPENDS_CHARSET) +#define UNI_SEMANTICS (get_regex_charset(RExC_flags) == REGEX_UNICODE_CHARSET) #define AT_LEAST_UNI_SEMANTICS (get_regex_charset(RExC_flags) >= REGEX_UNICODE_CHARSET) #define ASCII_RESTRICTED (get_regex_charset(RExC_flags) == REGEX_ASCII_RESTRICTED_CHARSET) #define MORE_ASCII_RESTRICTED (get_regex_charset(RExC_flags) == REGEX_ASCII_MORE_RESTRICTED_CHARSET) |