comparison src/vim9compile.c @ 24713:34a5329b85aa v8.2.2895

patch 8.2.2895: Vim9: random characters appear in some error messages Commit: https://github.com/vim/vim/commit/4ac198c61cb3097d4839d5a697cc8b2b256ac575 Author: mityu <mityu.mail@gmail.com> Date: Fri May 28 17:52:40 2021 +0200 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 https://github.com/vim/vim/issues/8277)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 May 2021 18:00:03 +0200
parents 80422f66978a
children bf8feac8a89a
comparison
equal deleted inserted replaced
24712:a2a1b64d088b 24713:34a5329b85aa
5185 } 5185 }
5186 5186
5187 if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(p[1 + op_falsy])) 5187 if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(p[1 + op_falsy]))
5188 { 5188 {
5189 semsg(_(e_white_space_required_before_and_after_str_at_str), 5189 semsg(_(e_white_space_required_before_and_after_str_at_str),
5190 op_falsy ? "??" : "?", *arg); 5190 op_falsy ? "??" : "?", p);
5191 return FAIL; 5191 return FAIL;
5192 } 5192 }
5193 5193
5194 if (ppconst->pp_used == ppconst_used + 1) 5194 if (ppconst->pp_used == ppconst_used + 1)
5195 { 5195 {