summaryrefslogtreecommitdiff
path: root/src/pcre2_context.c
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-26 17:14:36 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-26 17:14:36 +0000
commitb7fb2cb1b30ecba2668d22a97b9fc0d4596520a1 (patch)
tree7a29fbd75ba6824e54aacdfb2b58d537c3671623 /src/pcre2_context.c
parent413d1379b94d88bcd6ddfc949e1fba4386e9a05b (diff)
downloadpcre2-b7fb2cb1b30ecba2668d22a97b9fc0d4596520a1.tar.gz
Implement PCRE2_NEWLINE_NUL.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@806 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_context.c')
-rw-r--r--src/pcre2_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcre2_context.c b/src/pcre2_context.c
index 65e59fa..700dd0f 100644
--- a/src/pcre2_context.c
+++ b/src/pcre2_context.c
@@ -359,6 +359,7 @@ switch(newline)
case PCRE2_NEWLINE_CRLF:
case PCRE2_NEWLINE_ANY:
case PCRE2_NEWLINE_ANYCRLF:
+ case PCRE2_NEWLINE_NUL:
ccontext->newline_convention = newline;
return 0;