summaryrefslogtreecommitdiff
path: root/uni_keywords.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-05-05 20:46:21 -0600
committerKarl Williamson <khw@cpan.org>2018-06-25 07:33:30 -0600
commita1c8344dcb15e1c52b83ca71795ec7c711bda53e (patch)
treeec1cdb33612911043ed5af7d2d3737ddc7d288dc /uni_keywords.h
parent46958d96a9f416988d92f9b2ef7da55b9752bd12 (diff)
downloadperl-a1c8344dcb15e1c52b83ca71795ec7c711bda53e.tar.gz
regen/mk_invlists.pl: Fix chicken and egg problem
The problem here is that it was using a regular expression pattern to determine if a code point is the integer 0. When a new Unicode release comes along and adds a new block of decimals, this routine should be run before the interpreter is compiled for real. And the pattern won't know about the new block, so this would fail. Solve the problem by using only Unicode::UCD to discover this info, and not a pattern.
Diffstat (limited to 'uni_keywords.h')
-rw-r--r--uni_keywords.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/uni_keywords.h b/uni_keywords.h
index b47f75358a..f79f96b1be 100644
--- a/uni_keywords.h
+++ b/uni_keywords.h
@@ -6838,6 +6838,6 @@ MPH_VALt match_uniprop( const unsigned char * const key, const U16 key_len ) {
* 21653d2744fdd071f9ef138c805393901bb9547cf3e777ebf50215a191f986ea lib/unicore/version
* 4bb677187a1a64e39d48f2e341b5ecb6c99857e49d7a79cf503bd8a3c709999b regen/charset_translations.pl
* 03e51b0f07beebd5da62ab943899aa4934eee1f792fa27c1fb638c33bf4ac6ea regen/mk_PL_charclass.pl
- * 4948a9b67ca1dd0078a40fc5cadff6688c29c8447780bf444a3f3f4abb048843 regen/mk_invlists.pl
+ * d50e99b3da4054cd7982b750340f9829caaddd4e087f08425b09f0d4c2c18269 regen/mk_invlists.pl
* 5599d961e0e4ab42842b41d65db8a265c84e0b68e91a31d15585b7c9c8c6da53 regen/mph.pl
* ex: set ro: */