summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-01-15 22:46:58 -0700
committerKarl Williamson <khw@cpan.org>2016-01-19 15:08:59 -0700
commitca8226cfa2cc0ddcc50f60505c42078df8e3b766 (patch)
tree1efe4bdcff33497f9c669cb2b7f87dd881e55480 /regen
parentb83e64846b899f963162217c08dd5ff8cf40303d (diff)
downloadperl-ca8226cfa2cc0ddcc50f60505c42078df8e3b766.tar.gz
Make tables for Perl-tailored Unicode Line_Break property
This is in preparation for adding qr/\b{lb}/. This just generates the tables, and is a separate commit because otherwise the diff listing is confusing, as it doesn't realize there are only additions. So, even though the difference listing for this commit for the generated header file is wildly crazy, the only changes in reality are the addition of some tables for Line Break.
Diffstat (limited to 'regen')
-rw-r--r--regen/mk_invlists.pl38
1 files changed, 38 insertions, 0 deletions
diff --git a/regen/mk_invlists.pl b/regen/mk_invlists.pl
index 270684a4d5..21d255ce03 100644
--- a/regen/mk_invlists.pl
+++ b/regen/mk_invlists.pl
@@ -79,6 +79,43 @@ my %hard_coded_enums =
'T',
'V',
],
+ lb => [
+ 'Alphabetic',
+ 'Break_After',
+ 'Break_Before',
+ 'Break_Both',
+ 'Break_Symbols',
+ 'Carriage_Return',
+ 'Close_Parenthesis',
+ 'Close_Punctuation',
+ 'Combining_Mark',
+ 'Contingent_Break',
+ 'Exclamation',
+ 'Glue',
+ 'H2',
+ 'H3',
+ 'Hebrew_Letter',
+ 'Hyphen',
+ 'Ideographic',
+ 'Infix_Numeric',
+ 'Inseparable',
+ 'JL',
+ 'JT',
+ 'JV',
+ 'Line_Feed',
+ 'Mandatory_Break',
+ 'Next_Line',
+ 'Nonstarter',
+ 'Numeric',
+ 'Open_Punctuation',
+ 'Postfix_Numeric',
+ 'Prefix_Numeric',
+ 'Quotation',
+ 'Regional_Indicator',
+ 'Space',
+ 'Word_Joiner',
+ 'ZWSpace',
+ ],
sb => [
'ATerm',
'Close',
@@ -463,6 +500,7 @@ for my $charset (get_supported_code_pages()) {
_Perl_IDStart
_Perl_IDCont
_Perl_GCB,EDGE
+ _Perl_LB,EDGE
_Perl_SB,EDGE
_Perl_WB,EDGE,UNKNOWN
)