summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-03-19 22:13:30 -0600
committerKarl Williamson <khw@cpan.org>2020-03-20 07:44:31 -0600
commitcc06e157d785a514b8f825dccebf13aec98e7a27 (patch)
tree9f6f4a73094a6cc39a4773d2d48fb35699c094be /embed.fnc
parent770e79e94914f38efa409664c53df95c2b5073f3 (diff)
downloadperl-cc06e157d785a514b8f825dccebf13aec98e7a27.tar.gz
Add named sequences to Unicode wildcard name capabilites
Prior to this commit, specifying a named sequence would result in a mostly unhelpful fatal error message. This makes their use legal. This is also the beginning of allowing Unicode string properties, which are a new thing in the (still draft) Unicode requirements for regular expression parsing, UTS 18. Full compliance will have to come later.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 09fce2a920..98a5e38898 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1933,6 +1933,7 @@ ES |SV * |parse_uniprop_string|NN const char * const name \
|const bool to_fold \
|const bool runtime \
|const bool deferrable \
+ |NULLOK AV ** strings \
|NN bool * user_defined_ptr \
|NN SV * msg \
|const STRLEN level
@@ -1954,7 +1955,8 @@ ES |I32 |execute_wildcard|NN REGEXP * const prog|NN char* stringarg \
ES |bool |handle_names_wildcard \
|NN const char * wname \
|const STRLEN wname_len \
- |NN SV ** prop_definition
+ |NN SV ** prop_definition \
+ |NN AV ** strings
ES |void|add_above_Latin1_folds|NN RExC_state_t *pRExC_state|const U8 cp \
|NN SV** invlist
ES |regnode_offset|handle_named_backref|NN RExC_state_t *pRExC_state \