summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-23 13:49:02 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-23 14:05:28 -0700
commiteba68aa09a0b159ee4eef3cee1bd58ee95fdb81a (patch)
tree4a3fd382c4ba851804dfbe58044b6d96ed20ed28 /embedvar.h
parent31a09021a5558064a4417036c917712e2435edf7 (diff)
downloadperl-eba68aa09a0b159ee4eef3cee1bd58ee95fdb81a.tar.gz
handy.h: Add full complement of isIDCONT() macros
This also changes isIDCONT_utf8() to use the Perl definition, which excludes any \W characters (the Unicode definition includes a few of these). Tests are also added. These macros remain undocumented for now.
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index 6b1775c1fe..2964e62059 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -334,6 +334,7 @@
#define PL_utf8_idcont (vTHX->Iutf8_idcont)
#define PL_utf8_idstart (vTHX->Iutf8_idstart)
#define PL_utf8_mark (vTHX->Iutf8_mark)
+#define PL_utf8_perl_idcont (vTHX->Iutf8_perl_idcont)
#define PL_utf8_perl_idstart (vTHX->Iutf8_perl_idstart)
#define PL_utf8_swash_ptrs (vTHX->Iutf8_swash_ptrs)
#define PL_utf8_tofold (vTHX->Iutf8_tofold)