summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-08-19 22:35:29 -0600
committerKarl Williamson <khw@cpan.org>2018-08-20 12:44:25 -0600
commit40606899cf45753bd7fa4ad211cc7425b43e718a (patch)
treec067e4a730990cb03aac5866dd81f86935c8db71 /utf8.h
parente6166da6d81d4b0e0ec10df5ed68f7591584bc33 (diff)
downloadperl-40606899cf45753bd7fa4ad211cc7425b43e718a.tar.gz
utf8.c: Rename macro and move to utf8.h, and use it in regcomp.c
This hides an internal detail
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index af2463706b..f5ff61dd4a 100644
--- a/utf8.h
+++ b/utf8.h
@@ -758,6 +758,8 @@ point's representation.
#define UTF8_IS_REPLACEMENT(s, send) is_REPLACEMENT_utf8_safe(s,send)
+#define MAX_LEGAL_CP IV_MAX
+
/*
=for apidoc Am|bool|UTF8_IS_SUPER|const U8 *s|const U8 *e