diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-22 12:20:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-22 12:20:08 +0100 |
commit | 5b3d1bb0f5180266c4de4d815b3ea856a2fb3519 (patch) | |
tree | 2effbeb3391d960098a300e47d0c2a7d17100fff /src/ops.c | |
parent | c882e4d169fd5e0364bc91642040337efe7327a6 (diff) | |
download | vim-git-5b3d1bb0f5180266c4de4d815b3ea856a2fb3519.tar.gz |
patch 8.2.2186: Vim9: error when using 'opfunc'v8.2.2186
Problem: Vim9: error when using 'opfunc'.
Solution: Do not expect a return value from 'opfunc'. (closes #7510)
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3299,7 +3299,7 @@ op_function(oparg_T *oap UNUSED) // function. virtual_op = MAYBE; - (void)call_func_retnr(p_opfunc, 1, argv); + (void)call_func_noret(p_opfunc, 1, argv); virtual_op = save_virtual_op; if (cmdmod.cmod_flags & CMOD_LOCKMARKS) |