aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-05-22 17:51:42 +0200
committerRickard Green <[email protected]>2019-06-18 22:27:23 +0200
commitb4ee064b539958f6a13bc9554758a106a49f4bd6 (patch)
treef5557f2be227b884ae551b6914d269365da15db9 /erts/emulator/pcre/pcre.h
parentf9f857c8094e6bb50a944316ea120e53cd5552ed (diff)
downloadotp-b4ee064b539958f6a13bc9554758a106a49f4bd6.tar.gz
otp-b4ee064b539958f6a13bc9554758a106a49f4bd6.tar.bz2
otp-b4ee064b539958f6a13bc9554758a106a49f4bd6.zip
Yield when validating UTF8 for long subject in re:run()
Diffstat (limited to 'erts/emulator/pcre/pcre.h')
-rw-r--r--erts/emulator/pcre/pcre.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/pcre/pcre.h b/erts/emulator/pcre/pcre.h
index ab8f40cfc1..686925bf04 100644
--- a/erts/emulator/pcre/pcre.h
+++ b/erts/emulator/pcre/pcre.h
@@ -240,6 +240,9 @@ with J. */
#define PCRE_UTF8_ERR20 20
#define PCRE_UTF8_ERR21 21
#define PCRE_UTF8_ERR22 22 /* Unused (was non-character) */
+#if defined(ERLANG_INTEGRATION)
+#define PCRE_UTF8_YIELD 23
+#endif
/* Specific error codes for UTF-16 validity checks */