diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-01-13 16:53:02 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-01-13 16:53:02 +0000 |
commit | eae6ba82d486719b1c6b079fd0fdc9dce213b0b3 (patch) | |
tree | 0a1939f8859a837b73bd9f3daee8384558162ce3 /src/pcre2_convert.c | |
parent | 760baf7a00e0d91ba50f30b90ef1320e5e854065 (diff) | |
download | pcre2-eae6ba82d486719b1c6b079fd0fdc9dce213b0b3.tar.gz |
Source tidies and version etc. updates for 10.31-RC1.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@910 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_convert.c')
-rw-r--r-- | src/pcre2_convert.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pcre2_convert.c b/src/pcre2_convert.c index 546190a..bdf9b86 100644 --- a/src/pcre2_convert.c +++ b/src/pcre2_convert.c @@ -95,7 +95,7 @@ static const char *pcre2_escaped_literals = static const char *posix_meta_escapes = STR_LEFT_PARENTHESIS STR_RIGHT_PARENTHESIS - STR_LEFT_CURLY_BRACKET STR_RIGHT_CURLY_BRACKET + STR_LEFT_CURLY_BRACKET STR_RIGHT_CURLY_BRACKET STR_1 STR_2 STR_3 STR_4 STR_5 STR_6 STR_7 STR_8 STR_9; @@ -250,7 +250,7 @@ while (plength > 0) continue; /* With next character */ } } -#endif +#endif /* Handle start of "normal" character classes */ @@ -278,7 +278,7 @@ while (plength > 0) case CHAR_BACKSLASH: if (plength <= 0) return PCRE2_ERROR_END_BACKSLASH; if (extended) nextisliteral = TRUE; else - { + { if (*posix < 127 && strchr(posix_meta_escapes, *posix) != NULL) { if (isdigit(*posix)) PUTCHARS(STR_BACKSLASH); @@ -286,7 +286,7 @@ while (plength > 0) lastspecial = *p++ = *posix++; plength--; } - else nextisliteral = TRUE; + else nextisliteral = TRUE; } break; @@ -867,7 +867,7 @@ while (pattern < pattern_end) if (pattern >= pattern_end) { - no_slash_z = TRUE; + no_slash_z = TRUE; break; } @@ -937,7 +937,7 @@ while (pattern < pattern_end) { if (pattern >= pattern_end) { - no_slash_z = TRUE; + no_slash_z = TRUE; break; } |