diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-12-26 10:35:58 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-16 19:13:22 -0700 |
commit | 50e911483ad5c29e25c54c9f81f92df974dd2cc0 (patch) | |
tree | 169549fc50823620e5f0ffed5c1c47ce10165d19 /regexp.h | |
parent | 73134a2eb4055c76fe5b154da95e09118f716fd8 (diff) | |
download | perl-50e911483ad5c29e25c54c9f81f92df974dd2cc0.tar.gz |
Change name of /d to DEPENDS
I much prefer David Golden's name for /d whose meaning 'depends' on
circumstances, instead of 'dual' meaning it could be one or another.
Change it before this gets out in a stable release, and we're stuck with
the old name.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -257,7 +257,7 @@ and check for NULL. #define NONDESTRUCT_PAT_MOD 'r' #define LOCALE_PAT_MOD 'l' #define UNICODE_PAT_MOD 'u' -#define DUAL_PAT_MOD 'd' +#define DEPENDS_PAT_MOD 'd' #define ONCE_PAT_MODS "o" #define KEEPCOPY_PAT_MODS "p" @@ -266,7 +266,7 @@ and check for NULL. #define NONDESTRUCT_PAT_MODS "r" #define LOCALE_PAT_MODS "l" #define UNICODE_PAT_MODS "u" -#define DUAL_PAT_MODS "d" +#define DEPENDS_PAT_MODS "d" /* This string is expected by regcomp.c to be ordered so that the first * character is the flag in bit RXf_PMf_STD_PMMOD_SHIFT of extflags; the next @@ -311,7 +311,7 @@ get_regex_charset_name(const U32 flags, STRLEN* const lenp) *lenp = 1; switch (get_regex_charset(flags)) { - case REGEX_DEPENDS_CHARSET: return DUAL_PAT_MODS; + case REGEX_DEPENDS_CHARSET: return DEPENDS_PAT_MODS; case REGEX_LOCALE_CHARSET: return LOCALE_PAT_MODS; case REGEX_UNICODE_CHARSET: return UNICODE_PAT_MODS; } |