Mercurial > vim
comparison src/ex_cmds.c @ 11127:506f5d8b7d8b v8.0.0451
patch 8.0.0451: some macros are in lower case
commit https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 19:22:36 2017 +0100
patch 8.0.0451: some macros are in lower case
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 19:30:05 +0100 |
parents | 9bfc9d7b07a7 |
children | f4ea50924c6d |
comparison
equal
deleted
inserted
replaced
11126:48599a3eae0b | 11127:506f5d8b7d8b |
---|---|
4861 *cmd++ = NUL; /* replace it with a NUL */ | 4861 *cmd++ = NUL; /* replace it with a NUL */ |
4862 break; | 4862 break; |
4863 } | 4863 } |
4864 if (cmd[0] == '\\' && cmd[1] != 0) /* skip escaped characters */ | 4864 if (cmd[0] == '\\' && cmd[1] != 0) /* skip escaped characters */ |
4865 ++cmd; | 4865 ++cmd; |
4866 mb_ptr_adv(cmd); | 4866 MB_PTR_ADV(cmd); |
4867 } | 4867 } |
4868 | 4868 |
4869 if (!eap->skip) | 4869 if (!eap->skip) |
4870 { | 4870 { |
4871 /* In POSIX vi ":s/pat/%/" uses the previous subst. string. */ | 4871 /* In POSIX vi ":s/pat/%/" uses the previous subst. string. */ |