summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-06-23 12:57:54 -0600
committerKarl Williamson <public@khwilliamson.com>2012-06-29 22:22:40 -0600
commitbdd8600f35ec7851722b0fe8b4902e0e04ab2800 (patch)
tree6496d4e8e56d25152a3732a55d811bee1056db73 /perl.c
parentf74da94c18a7b3cbdb577015ae60665509e912e8 (diff)
downloadperl-bdd8600f35ec7851722b0fe8b4902e0e04ab2800.tar.gz
handy.h: Fix isBLANK_uni and isBLANK_utf8
These macros have never worked outside the Latin1 range, so this extends them to work. There are no tests I could find for things in handy.h, except that many of them are called all over the place during the normal course of events. This commit adds a new file for such testing, containing for now only with a few tests for the isBLANK's
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 4348954dec..71e958a0fb 100644
--- a/perl.c
+++ b/perl.c
@@ -991,6 +991,7 @@ perl_destruct(pTHXx)
/* clear utf8 character classes */
SvREFCNT_dec(PL_utf8_alnum);
SvREFCNT_dec(PL_utf8_alpha);
+ SvREFCNT_dec(PL_utf8_blank);
SvREFCNT_dec(PL_utf8_space);
SvREFCNT_dec(PL_utf8_graph);
SvREFCNT_dec(PL_utf8_digit);
@@ -1009,6 +1010,7 @@ perl_destruct(pTHXx)
SvREFCNT_dec(PL_utf8_foldclosures);
PL_utf8_alnum = NULL;
PL_utf8_alpha = NULL;
+ PL_utf8_blank = NULL;
PL_utf8_space = NULL;
PL_utf8_graph = NULL;
PL_utf8_digit = NULL;