summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-07-27 22:45:31 -0600
committerKarl Williamson <khw@cpan.org>2015-07-28 22:15:58 -0600
commitbf4268faa8496da74302d7b5ee786c51f77a322f (patch)
treeefccc1a88a205a75950043c6c5b5dbbb910f22ac /perl.c
parent02f811ddf7c78de43affe51e3337e3a4be99f9df (diff)
downloadperl-bf4268faa8496da74302d7b5ee786c51f77a322f.tar.gz
mktables: Add handling of WB and SB for early Unicodes
This allows \b{wb} and \b{sb} to work on all Unicode releases. The huge number of differences in charclass_invlists.h is only because the names of the SB and WB tables change, and the code automatically re-alphabetizes things.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 37b14c52f8..3cdae043f1 100644
--- a/perl.c
+++ b/perl.c
@@ -390,8 +390,8 @@ perl_construct(pTHXx)
PL_XPosix_ptrs[_CC_WORDCHAR] = _new_invlist_C_array(XPosixWord_invlist);
PL_XPosix_ptrs[_CC_XDIGIT] = _new_invlist_C_array(XPosixXDigit_invlist);
PL_GCB_invlist = _new_invlist_C_array(_Perl_GCB_invlist);
- PL_SB_invlist = _new_invlist_C_array(Sentence_Break_invlist);
- PL_WB_invlist = _new_invlist_C_array(Word_Break_invlist);
+ PL_SB_invlist = _new_invlist_C_array(_Perl_SB_invlist);
+ PL_WB_invlist = _new_invlist_C_array(_Perl_WB_invlist);
ENTER;
}