summaryrefslogtreecommitdiff
path: root/regen/mk_invlists.pl
diff options
context:
space:
mode:
authorUnicode Consortium <unicode.org>2018-07-20 14:46:28 -0600
committerKarl Williamson <khw@cpan.org>2018-07-20 15:36:23 -0600
commit8a6698d780e9f46d4c64b65eaa6928cd7d0e16ce (patch)
tree5ae31e7fd5a8dd6d1e8e3fa157b3b39e357c9e20 /regen/mk_invlists.pl
parentc0734505dda7c70c48ff2cc5f95bb57bcbe04ba0 (diff)
downloadperl-8a6698d780e9f46d4c64b65eaa6928cd7d0e16ce.tar.gz
Use Unicode 11.0
This completes the process of upgrading to Unicode 11.0.
Diffstat (limited to 'regen/mk_invlists.pl')
-rw-r--r--regen/mk_invlists.pl15
1 files changed, 5 insertions, 10 deletions
diff --git a/regen/mk_invlists.pl b/regen/mk_invlists.pl
index 464801caad..81caf53f49 100644
--- a/regen/mk_invlists.pl
+++ b/regen/mk_invlists.pl
@@ -1778,16 +1778,11 @@ sub output_LB_table() {
}
}
- # LB8a Do not break between a zero width joiner and an ideograph, emoji
- # base or emoji modifier. This rule prevents breaks within emoji joiner
- # sequences.
- # ZWJ × (ID | EB | EM)
- $lb_table[$lb_enums{'ZWJ'}][$lb_enums{'Ideographic'}]
- = $lb_actions{'LB_NOBREAK'};
- $lb_table[$lb_enums{'ZWJ'}][$lb_enums{'E_Base'}]
- = $lb_actions{'LB_NOBREAK'};
- $lb_table[$lb_enums{'ZWJ'}][$lb_enums{'E_Modifier'}]
- = $lb_actions{'LB_NOBREAK'};
+ # LB8a Do not break after a zero width joiner
+ # ZWJ ×
+ for my $i (0 .. @lb_table - 1) {
+ $lb_table[$lb_enums{'ZWJ'}][$i] = $lb_actions{'LB_NOBREAK'};
+ }
# LB8 Break before any character following a zero-width space, even if one
# or more spaces intervene.