summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-05-02 06:45:01 -0600
committerKarl Williamson <khw@cpan.org>2021-05-31 10:56:32 -0600
commit77a6d54c0deb1165b37dcf11c21cd334ae2579bb (patch)
tree0ff8476aa593874fb3b77bd9a2439d5b73d3edcb /embed.fnc
parent24eef90b9c96f00a8311aae2f1708ca5cf712865 (diff)
downloadperl-77a6d54c0deb1165b37dcf11c21cd334ae2579bb.tar.gz
regcomp.c: Extract code from a too-large-function
S_regclass() is unwieldy. This commit splits it into two nearly equal size parts. More could be done.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index f897db06c5..94d0f6b317 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2038,6 +2038,16 @@ ES |regnode_offset|regclass|NN RExC_state_t *pRExC_state \
|const bool strict \
|bool optimizable \
|NULLOK SV** ret_invlist
+ES |U8|optimize_regclass |NN RExC_state_t *pRExC_state \
+ |NULLOK SV* cp_list \
+ |NULLOK SV* only_utf8_locale_list \
+ |NULLOK SV* upper_latin1_only_utf8_matches \
+ |const U32 has_runtime_dependency \
+ |const U32 posixl \
+ |NN U8 * anyof_flags \
+ |NN bool * invert \
+ |NN regnode_offset * ret \
+ |NN I32 *flagp
ES |SV * |parse_uniprop_string|NN const char * const name \
|Size_t name_len \
|const bool is_utf8 \