summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-04-19 21:08:24 -0600
committerKarl Williamson <khw@cpan.org>2018-04-20 01:11:54 -0600
commit394d2d3f374c001b40cce3e2709c7b75de05f55e (patch)
treef514d0e6bbdf5494f5d1f7adffafc64047e8a291 /embed.fnc
parent2cdbf8d9c7a9b6f7640617efa7e5d24c9bedb9f2 (diff)
downloadperl-394d2d3f374c001b40cce3e2709c7b75de05f55e.tar.gz
Bring all Unicode property definitions into core
This commit causes the looking up of \p{} Unicode properties to be done without having to use the swash mechanism.s, with certain exceptions. This will all be explained in the merge commit. This commit uses Devel::Tokenizer::C to generate the code that turns the property string as keywords into numbers that can be understood by the computer. This mechanism generates relatively large code. The next commits will replace this with a smaller mechanism.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 454a380e4c..f6325d9555 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -984,6 +984,7 @@ EMiR |char*|form_short_octal_warning|NN const char * const s \
|const STRLEN len
EiRn |I32 |regcurly |NN const char *s
#endif
+Epn |int |uniprop_lookup |NN const char * tokstr|const Size_t len
Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
Apd |int |grok_infnan |NN const char** sp|NN const char *send
Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep