Mercurial > vim
comparison src/ex_getln.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 | 8514e8b7e661 |
children | aadd1cae2ff5 |
comparison
equal
deleted
inserted
replaced
19891:e1168788aa04 | 19892:5feb426d2ea1 |
---|---|
275 goto theend; | 275 goto theend; |
276 | 276 |
277 p = skipwhite(p); | 277 p = skipwhite(p); |
278 delim = (delim_optional && vim_isIDc(*p)) ? ' ' : *p++; | 278 delim = (delim_optional && vim_isIDc(*p)) ? ' ' : *p++; |
279 *search_delim = delim; | 279 *search_delim = delim; |
280 end = skip_regexp(p, delim, p_magic, NULL); | 280 end = skip_regexp(p, delim, p_magic); |
281 | 281 |
282 use_last_pat = end == p && *end == delim; | 282 use_last_pat = end == p && *end == delim; |
283 | 283 |
284 if (end == p && !use_last_pat) | 284 if (end == p && !use_last_pat) |
285 goto theend; | 285 goto theend; |