diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-02 21:13:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-02 21:13:25 +0200 |
commit | e8c4abbbd711af8fd3ed85ea69e9ac3d63a0d879 (patch) | |
tree | 0101dc0b69343972a82db39af16612334fbc0a8d /src/cmdexpand.c | |
parent | 2c869deeb7658b6b02e525ff9412fc4a0c968688 (diff) | |
download | vim-git-e8c4abbbd711af8fd3ed85ea69e9ac3d63a0d879.tar.gz |
patch 8.2.0502: Vim9: some code is not testedv8.2.0502
Problem: Vim9: some code is not tested.
Solution: Add more tests. Fix uncovered problems.
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r-- | src/cmdexpand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index 4f9b3cad0..3a2b10c5a 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c @@ -1389,7 +1389,7 @@ set_one_cmd_context( if (*arg != NUL) { xp->xp_context = EXPAND_NOTHING; - arg = skip_regexp(arg + 1, *arg, p_magic, NULL); + arg = skip_regexp(arg + 1, *arg, p_magic); } } return find_nextcmd(arg); @@ -1427,7 +1427,7 @@ set_one_cmd_context( { // skip "from" part ++arg; - arg = skip_regexp(arg, delim, p_magic, NULL); + arg = skip_regexp(arg, delim, p_magic); } // skip "to" part while (arg[0] != NUL && arg[0] != delim) |