commit | e8c4abbbd711af8fd3ed85ea69e9ac3d63a0d879 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 02 21:13:25 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 02 21:13:25 2020 +0200 |
tree | 0101dc0b69343972a82db39af16612334fbc0a8d | |
parent | 2c869deeb7658b6b02e525ff9412fc4a0c968688 [diff] [blame] |
patch 8.2.0502: Vim9: some code is not tested Problem: Vim9: some code is not tested. Solution: Add more tests. Fix uncovered problems.
diff --git a/src/ex_getln.c b/src/ex_getln.c index bc3cccc..4b0645a 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c
@@ -277,7 +277,7 @@ p = skipwhite(p); delim = (delim_optional && vim_isIDc(*p)) ? ' ' : *p++; *search_delim = delim; - end = skip_regexp(p, delim, p_magic, NULL); + end = skip_regexp(p, delim, p_magic); use_last_pat = end == p && *end == delim;