summaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-02 21:13:25 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-02 21:13:25 +0200
commite8c4abbbd711af8fd3ed85ea69e9ac3d63a0d879 (patch)
tree0101dc0b69343972a82db39af16612334fbc0a8d /src/tag.c
parent2c869deeb7658b6b02e525ff9412fc4a0c968688 (diff)
downloadvim-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/tag.c')
-rw-r--r--src/tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tag.c b/src/tag.c
index dc4b9a571..1cb5c445a 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -3530,7 +3530,7 @@ jumpto_tag(
*/
str = pbuf;
if (pbuf[0] == '/' || pbuf[0] == '?')
- str = skip_regexp(pbuf + 1, pbuf[0], FALSE, NULL) + 1;
+ str = skip_regexp(pbuf + 1, pbuf[0], FALSE) + 1;
if (str > pbuf_end - 1) // search command with nothing following
{
save_p_ws = p_ws;
@@ -3820,7 +3820,7 @@ find_extra(char_u **pp)
str = skipdigits(str);
else if (*str == '/' || *str == '?')
{
- str = skip_regexp(str + 1, *str, FALSE, NULL);
+ str = skip_regexp(str + 1, *str, FALSE);
if (*str != first_char)
str = NULL;
else