From 4ac198c61cb3097d4839d5a697cc8b2b256ac575 Mon Sep 17 00:00:00 2001 From: mityu Date: Fri, 28 May 2021 17:52:40 +0200 Subject: patch 8.2.2895: Vim9: random characters appear in some error messages Problem: Vim9: random characters appear in some error messages. Solution: Pass the correct pointer. (closes #8277) --- src/vim9compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vim9compile.c') 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; } -- cgit v1.2.1