summaryrefslogtreecommitdiff
path: root/pcre
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-09-06 15:32:56 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-09-06 15:32:56 +0300
commitcd694d76ce8dfcf22c685000b40fd90eae58e396 (patch)
treeb9800bec3859b0eff3c224b68258216b068e689e /pcre
parent17589989eec9cf4e9f7084505710a42929efe115 (diff)
parent6b45355e6bd70e77fcd4dd4d0ef74608bafc9b02 (diff)
downloadmariadb-git-cd694d76ce8dfcf22c685000b40fd90eae58e396.tar.gz
Merge 10.0 into 10.1
Diffstat (limited to 'pcre')
-rw-r--r--pcre/pcre_compile.c5
-rw-r--r--pcre/pcre_exec.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/pcre/pcre_compile.c b/pcre/pcre_compile.c
index 42f204cdfff..1a916693e69 100644
--- a/pcre/pcre_compile.c
+++ b/pcre/pcre_compile.c
@@ -1249,6 +1249,7 @@ else
if ((c = *ptr) >= CHAR_8) break;
+ /* fall through */
/* Fall through with a digit less than 8 */
/* \0 always starts an octal number, but we may drop through to here with a
@@ -5097,6 +5098,8 @@ for (;; ptr++)
either not match or match, depending on whether the class is or is
not negated. */
+ /* fall through */
+
default:
if (local_negate &&
(xclass || tempptr[2] != CHAR_RIGHT_SQUARE_BRACKET))
@@ -7165,7 +7168,7 @@ for (;; ptr++)
goto FAILED;
}
/* Fall through to handle (?P< as (?< is handled */
-
+ /* fall through */
/* ------------------------------------------------------------ */
DEFINE_NAME: /* Come here from (?< handling */
diff --git a/pcre/pcre_exec.c b/pcre/pcre_exec.c
index 1a9bdd546ee..70ac2fea381 100644
--- a/pcre/pcre_exec.c
+++ b/pcre/pcre_exec.c
@@ -1053,6 +1053,8 @@ for (;;)
group. At this point, the return is converted into MATCH_NOMATCH so that
previous backup points can be taken. */
+ /* fall through */
+
case OP_ONCE:
case OP_BRA:
case OP_SBRA: