@@ -1936,7 +1936,7 @@ else
19361936
19371937 if (c >= CHAR_8 ) break ;
19381938
1939- /* Fall through */
1939+ PCRE2_FALLTHROUGH /* Fall through */
19401940
19411941 /* \0 always starts an octal number, but we may drop through to here with a
19421942 larger first octal digit. The original code used just to take the least
@@ -2908,21 +2908,21 @@ switch(escape)
29082908 {
29092909 case ESC_D :
29102910 prop = ESC_P ;
2911- /* Fall through */
2911+ PCRE2_FALLTHROUGH /* Fall through */
29122912 case ESC_d :
29132913 ascii_option = PCRE2_EXTRA_ASCII_BSD ;
29142914 break ;
29152915
29162916 case ESC_S :
29172917 prop = ESC_P ;
2918- /* Fall through */
2918+ PCRE2_FALLTHROUGH /* Fall through */
29192919 case ESC_s :
29202920 ascii_option = PCRE2_EXTRA_ASCII_BSS ;
29212921 break ;
29222922
29232923 case ESC_W :
29242924 prop = ESC_P ;
2925- /* Fall through */
2925+ PCRE2_FALLTHROUGH /* Fall through */
29262926 case ESC_w :
29272927 ascii_option = PCRE2_EXTRA_ASCII_BSW ;
29282928 break ;
@@ -4560,7 +4560,7 @@ while (ptr < ptrend)
45604560
45614561 default :
45624562 PCRE2_DEBUG_UNREACHABLE ();
4563- /* Fall through */
4563+ PCRE2_FALLTHROUGH /* Fall through */
45644564
45654565 case ESC_A :
45664566 case ESC_Z :
@@ -5224,7 +5224,7 @@ while (ptr < ptrend)
52245224 ++ ptr ;
52255225 goto FAILED_FORWARD ;
52265226 }
5227- /* Fall through */
5227+ PCRE2_FALLTHROUGH /* Fall through */
52285228
52295229 case CHAR_0 : case CHAR_1 : case CHAR_2 : case CHAR_3 : case CHAR_4 :
52305230 case CHAR_5 : case CHAR_6 : case CHAR_7 : case CHAR_8 : case CHAR_9 :
@@ -5974,7 +5974,7 @@ for (;;)
59745974 case OP_UCP_WORD_BOUNDARY :
59755975 case OP_NOT_UCP_WORD_BOUNDARY :
59765976 if (!skipassert ) return code ;
5977- /* Fall through */
5977+ PCRE2_FALLTHROUGH /* Fall through */
59785978
59795979 case OP_CALLOUT :
59805980 case OP_CREF :
@@ -6493,7 +6493,7 @@ for (;; pptr++)
64936493 case META_PRUNE :
64946494 case META_SKIP :
64956495 cb -> had_pruneorskip = TRUE;
6496- /* Fall through */
6496+ PCRE2_FALLTHROUGH /* Fall through */
64976497 case META_COMMIT :
64986498 case META_FAIL :
64996499 * code ++ = verbops [(meta - META_MARK ) >> 16 ];
@@ -6518,7 +6518,7 @@ for (;; pptr++)
65186518 case META_PRUNE_ARG :
65196519 case META_SKIP_ARG :
65206520 cb -> had_pruneorskip = TRUE;
6521- /* Fall through */
6521+ PCRE2_FALLTHROUGH /* Fall through */
65226522 case META_MARK :
65236523 case META_COMMIT_ARG :
65246524 VERB_ARG :
@@ -7498,7 +7498,7 @@ for (;; pptr++)
74987498 group_return = -1 ; /* Set "may match empty string" */
74997499
75007500 /* Now treat as a repeated OP_BRA. */
7501- /* Fall through */
7501+ PCRE2_FALLTHROUGH /* Fall through */
75027502
75037503 /* If previous was a bracket group, we may have to replicate it in
75047504 certain cases. Note that at this point we can encounter only the "basic"
@@ -8348,7 +8348,7 @@ for (;; pptr++)
83488348 if ((options & PCRE2_UCP ) != 0 && (xoptions & PCRE2_EXTRA_ASCII_BSW ) == 0 )
83498349 meta_arg = (meta_arg == ESC_B )? OP_NOT_UCP_WORD_BOUNDARY :
83508350 OP_UCP_WORD_BOUNDARY ;
8351- /* Fall through */
8351+ PCRE2_FALLTHROUGH /* Fall through */
83528352
83538353 case ESC_A :
83548354 if (cb -> max_lookbehind == 0 ) cb -> max_lookbehind = 1 ;
@@ -9282,7 +9282,7 @@ do {
92829282
92839283 case OP_EXACT :
92849284 scode += IMM2_SIZE ;
9285- /* Fall through */
9285+ PCRE2_FALLTHROUGH /* Fall through */
92869286
92879287 case OP_CHAR :
92889288 case OP_PLUS :
@@ -9295,7 +9295,7 @@ do {
92959295
92969296 case OP_EXACTI :
92979297 scode += IMM2_SIZE ;
9298- /* Fall through */
9298+ PCRE2_FALLTHROUGH /* Fall through */
92999299
93009300 case OP_CHARI :
93019301 case OP_PLUSI :
@@ -9727,7 +9727,7 @@ for (;; pptr++)
97279727 case META_BACKREF_BYNAME :
97289728 if ((cb -> external_options & PCRE2_MATCH_UNSET_BACKREF ) != 0 )
97299729 goto ISNOTFIXED ;
9730- /* Fall through */
9730+ PCRE2_FALLTHROUGH /* Fall through */
97319731
97329732 case META_RECURSE_BYNAME :
97339733 {
@@ -9776,7 +9776,7 @@ for (;; pptr++)
97769776 goto RECURSE_OR_BACKREF_LENGTH ;
97779777 }
97789778
9779- /* Fall through */
9779+ PCRE2_FALLTHROUGH /* Fall through */
97809780 /* For groups >= 10 - picking up group twice does no harm. */
97819781
97829782 /* A true recursion implies not fixed length, but a subroutine call may
@@ -9856,7 +9856,7 @@ for (;; pptr++)
98569856
98579857 case META_CAPTURE :
98589858 group = META_DATA (* pptr );
9859- /* Fall through */
9859+ PCRE2_FALLTHROUGH /* Fall through */
98609860
98619861 case META_ATOMIC :
98629862 case META_NOCAPTURE :
@@ -9903,7 +9903,7 @@ for (;; pptr++)
99039903 else itemlength = (max - 1 ) * lastitemlength ;
99049904 break ;
99059905 }
9906- /* Fall through */
9906+ PCRE2_FALLTHROUGH /* Fall through */
99079907
99089908 /* Any other item means this branch does not have a fixed length. */
99099909
0 commit comments