Mercurial > vim
comparison src/highlight.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 | fe90a71a3fed |
children | aadd1cae2ff5 |
comparison
equal
deleted
inserted
replaced
19891:e1168788aa04 | 19892:5feb426d2ea1 |
---|---|
4962 // There must be two arguments. | 4962 // There must be two arguments. |
4963 vim_free(g); | 4963 vim_free(g); |
4964 semsg(_(e_invarg2), eap->arg); | 4964 semsg(_(e_invarg2), eap->arg); |
4965 return; | 4965 return; |
4966 } | 4966 } |
4967 end = skip_regexp(p + 1, *p, TRUE, NULL); | 4967 end = skip_regexp(p + 1, *p, TRUE); |
4968 if (!eap->skip) | 4968 if (!eap->skip) |
4969 { | 4969 { |
4970 if (*end != NUL && !ends_excmd(*skipwhite(end + 1))) | 4970 if (*end != NUL && !ends_excmd(*skipwhite(end + 1))) |
4971 { | 4971 { |
4972 vim_free(g); | 4972 vim_free(g); |