Mercurial > vim
diff src/tag.c @ 19892:5feb426d2ea1 v8.2.0502
patch 8.2.0502: Vim9: some code is not tested
Commit: https://github.com/vim/vim/commit/e8c4abbbd711af8fd3ed85ea69e9ac3d63a0d879
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 2 21:13:25 2020 +0200
patch 8.2.0502: Vim9: some code is not tested
Problem: Vim9: some code is not tested.
Solution: Add more tests. Fix uncovered problems.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 02 Apr 2020 21:15:04 +0200 |
parents | 435726a03481 |
children | aadd1cae2ff5 |
line wrap: on
line diff
--- 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