summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-03-31 11:18:38 -0600
committerKarl Williamson <khw@cpan.org>2018-03-31 15:36:45 -0600
commitf1bcae08d82e5348df8b5dc0c44313ea38deb12b (patch)
treef8c12cfd58ff90426563d05ef2688442b6e58cdf /perlvars.h
parent9c4165e33442f4b2fbc036d677b5a9196a5375ee (diff)
downloadperl-f1bcae08d82e5348df8b5dc0c44313ea38deb12b.tar.gz
Use charnames inversion lists
This commit makes the inversion lists for parsing character name global instead of interpreter level, so can be initialized once per process, and no copies are created upon new thread instantiation. More importantly, this is another instance where utf8_heavy.pl no longer needs to be loaded, and the definition files read from disk.
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h
index a3ba851b22..af48fa8266 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -300,3 +300,5 @@ PERLVAR(G, utf8_totitle, SV *)
PERLVAR(G, utf8_tolower, SV *)
PERLVAR(G, utf8_tofold, SV *)
PERLVAR(G, utf8_tosimplefold, SV *)
+PERLVAR(G, utf8_charname_begin, SV *)
+PERLVAR(G, utf8_charname_continue, SV *)