mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0502: Vim9: some code is not tested
Problem: Vim9: some code is not tested. Solution: Add more tests. Fix uncovered problems.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user