@@ -2551,7 +2551,7 @@ set_context_for_expression(
25512551 for (p = arg + STRLEN (arg ); p >= arg ; )
25522552 {
25532553 xp -> xp_pattern = p ;
2554- mb_ptr_back (arg , p );
2554+ MB_PTR_BACK (arg , p );
25552555 if (vim_iswhite (* p ))
25562556 break ;
25572557 }
@@ -4814,7 +4814,7 @@ get_string_tv(char_u **arg, typval_T *rettv, int evaluate)
48144814 /*
48154815 * Find the end of the string, skipping backslashed characters.
48164816 */
4817- for (p = * arg + 1 ; * p != NUL && * p != '"' ; mb_ptr_adv (p ))
4817+ for (p = * arg + 1 ; * p != NUL && * p != '"' ; MB_PTR_ADV (p ))
48184818 {
48194819 if (* p == '\\' && p [1 ] != NUL )
48204820 {
@@ -4952,7 +4952,7 @@ get_lit_string_tv(char_u **arg, typval_T *rettv, int evaluate)
49524952 /*
49534953 * Find the end of the string, skipping ''.
49544954 */
4955- for (p = * arg + 1 ; * p != NUL ; mb_ptr_adv (p ))
4955+ for (p = * arg + 1 ; * p != NUL ; MB_PTR_ADV (p ))
49564956 {
49574957 if (* p == '\'' )
49584958 {
@@ -5910,7 +5910,7 @@ string_quote(char_u *str, int function)
59105910 if (str != NULL )
59115911 {
59125912 len += (unsigned )STRLEN (str );
5913- for (p = str ; * p != NUL ; mb_ptr_adv (p ))
5913+ for (p = str ; * p != NUL ; MB_PTR_ADV (p ))
59145914 if (* p == '\'' )
59155915 ++ len ;
59165916 }
@@ -6369,20 +6369,20 @@ find_name_end(
63696369 || * p == '{'
63706370 || ((flags & FNE_INCL_BR ) && (* p == '[' || * p == '.' ))
63716371 || mb_nest != 0
6372- || br_nest != 0 ); mb_ptr_adv (p ))
6372+ || br_nest != 0 ); MB_PTR_ADV (p ))
63736373 {
63746374 if (* p == '\'' )
63756375 {
63766376 /* skip over 'string' to avoid counting [ and ] inside it. */
6377- for (p = p + 1 ; * p != NUL && * p != '\'' ; mb_ptr_adv (p ))
6377+ for (p = p + 1 ; * p != NUL && * p != '\'' ; MB_PTR_ADV (p ))
63786378 ;
63796379 if (* p == NUL )
63806380 break ;
63816381 }
63826382 else if (* p == '"' )
63836383 {
63846384 /* skip over "str\"ing" to avoid counting [ and ] inside it. */
6385- for (p = p + 1 ; * p != NUL && * p != '"' ; mb_ptr_adv (p ))
6385+ for (p = p + 1 ; * p != NUL && * p != '"' ; MB_PTR_ADV (p ))
63866386 if (* p == '\\' && p [1 ] != NUL )
63876387 ++ p ;
63886388 if (* p == NUL )
@@ -9410,7 +9410,7 @@ shortpath_for_partial(
94109410 /* Count up the path separators from the RHS.. so we know which part
94119411 * of the path to return. */
94129412 sepcount = 0 ;
9413- for (p = * fnamep ; p < * fnamep + * fnamelen ; mb_ptr_adv (p ))
9413+ for (p = * fnamep ; p < * fnamep + * fnamelen ; MB_PTR_ADV (p ))
94149414 if (vim_ispathsep (* p ))
94159415 ++ sepcount ;
94169416
@@ -9528,7 +9528,7 @@ modify_fname(
95289528 }
95299529
95309530 /* When "/." or "/.." is used: force expansion to get rid of it. */
9531- for (p = * fnamep ; * p != NUL ; mb_ptr_adv (p ))
9531+ for (p = * fnamep ; * p != NUL ; MB_PTR_ADV (p ))
95329532 {
95339533 if (vim_ispathsep (* p )
95349534 && p [1 ] == '.'
@@ -9658,7 +9658,7 @@ modify_fname(
96589658 * usedlen += 2 ;
96599659 s = get_past_head (* fnamep );
96609660 while (tail > s && after_pathsep (s , tail ))
9661- mb_ptr_back (* fnamep , tail );
9661+ MB_PTR_BACK (* fnamep , tail );
96629662 * fnamelen = (int )(tail - * fnamep );
96639663#ifdef VMS
96649664 if (* fnamelen > 0 )
@@ -9677,7 +9677,7 @@ modify_fname(
96779677 else
96789678 {
96799679 while (tail > s && !after_pathsep (s , tail ))
9680- mb_ptr_back (* fnamep , tail );
9680+ MB_PTR_BACK (* fnamep , tail );
96819681 }
96829682 }
96839683
0 commit comments