diff options
author | mityu <mityu.mail@gmail.com> | 2021-05-28 17:52:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-28 17:52:40 +0200 |
commit | 4ac198c61cb3097d4839d5a697cc8b2b256ac575 (patch) | |
tree | 62d13deb729a4ae10f679ebab6cd0675e3c6cf21 /src/vim9compile.c | |
parent | 2c4a1d0a619b0f1e0f7dac98681da6fee58c6a44 (diff) | |
download | vim-git-4ac198c61cb3097d4839d5a697cc8b2b256ac575.tar.gz |
patch 8.2.2895: Vim9: random characters appear in some error messagesv8.2.2895
Problem: Vim9: random characters appear in some error messages.
Solution: Pass the correct pointer. (closes #8277)
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index cb91c3ccb..995c1d749 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -5187,7 +5187,7 @@ compile_expr1(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(p[1 + op_falsy])) { semsg(_(e_white_space_required_before_and_after_str_at_str), - op_falsy ? "??" : "?", *arg); + op_falsy ? "??" : "?", p); return FAIL; } |