diff options
author | Karl Williamson <khw@cpan.org> | 2018-11-27 11:20:56 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-12-26 12:50:37 -0700 |
commit | c5d6a6ca99e382c5efe257bef87df4e1369cdc7e (patch) | |
tree | 6a3858cffafba457d39a55334828fe568a224e4e /regcomp.c | |
parent | 17e8e8e82459ab4457d5037180fa67796e0fac8e (diff) | |
download | perl-c5d6a6ca99e382c5efe257bef87df4e1369cdc7e.tar.gz |
regcomp.c: Rename a variable
The new name more accurately expresses the usage, as what gets generated
may not actually be an ANYOFD.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16566,7 +16566,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, one. */ U8 anyof_flags = 0; /* flag bits if the node is an ANYOF-type */ U32 posixl = 0; /* bit field of posix classes matched under /l */ - bool use_anyofd = FALSE; /* ? Is this to be an ANYOFD node */ + bool has_d_runtime_dependencies = FALSE; /* ? Is this to be an ANYOFD node */ GET_RE_DEBUG_FLAGS_DECL; @@ -18132,7 +18132,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, && ( upper_latin1_only_utf8_matches || (anyof_flags & ANYOF_SHARED_d_MATCHES_ALL_NON_UTF8_NON_ASCII_non_d_WARN_SUPER))) { - use_anyofd = TRUE; + has_d_runtime_dependencies = TRUE; RExC_seen_d_op = TRUE; optimizable = FALSE; } @@ -18143,7 +18143,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, * */ if ( cp_list && invert - && ! use_anyofd + && ! has_d_runtime_dependencies && ! (anyof_flags & (ANYOF_LOCALE_FLAGS)) && ! HAS_NONLOCALE_RUNTIME_PROPERTY_DEFINITION) { @@ -18450,7 +18450,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, } /* End of seeing if can optimize it into a different node */ /* It's going to be an ANYOF node. */ - op = (use_anyofd) + op = (has_d_runtime_dependencies) ? ANYOFD : ((posixl) ? ANYOFPOSIXL |