diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-12 19:22:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-12 19:22:36 +0100 |
commit | 91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f (patch) | |
tree | 1923145c992a09b3adc06e40f02284ff0ef21bbd /src/syntax.c | |
parent | 47ffb905f363571072faefbd417938e7ff351a9f (diff) | |
download | vim-git-91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f.tar.gz |
patch 8.0.0451: some macros are in lower casev8.0.0451
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/syntax.c b/src/syntax.c index b13bd93a2..12de24459 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -3211,12 +3211,12 @@ syn_add_end_off( if (off > 0) { while (off-- > 0 && *p != NUL) - mb_ptr_adv(p); + MB_PTR_ADV(p); } else if (off < 0) { while (off++ < 0 && base < p) - mb_ptr_back(base, p); + MB_PTR_BACK(base, p); } col = (int)(p - base); } @@ -3265,12 +3265,12 @@ syn_add_start_off( if (off > 0) { while (off-- && *p != NUL) - mb_ptr_adv(p); + MB_PTR_ADV(p); } else if (off < 0) { while (off++ && base < p) - mb_ptr_back(base, p); + MB_PTR_BACK(base, p); } col = (int)(p - base); } |