summaryrefslogtreecommitdiff
path: root/warnings.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-03-06 17:50:23 -0700
committerKarl Williamson <khw@cpan.org>2019-03-07 13:14:26 -0700
commit21c34e9717de1e37a5e25d2e7d748da66c781488 (patch)
tree86ce71d42ceff26db39bfd0c754a2aa45197da2b /warnings.h
parentb37d10f658c300104241001e3f5de1f31d62b22f (diff)
downloadperl-21c34e9717de1e37a5e25d2e7d748da66c781488.tar.gz
Add hook for Unicode private use override
I am starting to write a Unicode::Private_Use module which will allow one to specify the Unicode properties of private use code points, thus making them actually useful. This commit adds a hook to regcomp.c to accommodate this module. The changes are pretty minimal. This way we don't have to wait another release cycle to get it out there. I don't want to document this interface, until it's proven.
Diffstat (limited to 'warnings.h')
-rw-r--r--warnings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/warnings.h b/warnings.h
index d076e7acc1..ba15ba94da 100644
--- a/warnings.h
+++ b/warnings.h
@@ -121,6 +121,10 @@
#define WARN_EXPERIMENTAL__SCRIPT_RUN 68
#define WARN_SHADOW 69
+/* Warnings Categories added in Perl 5.029 */
+
+#define WARN_EXPERIMENTAL__PRIVATE_USE 70
+
#define WARNsize 18
#define WARN_ALLstring "\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125"
#define WARN_NONEstring "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"