summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-22 12:20:08 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-22 12:20:08 +0100
commit5b3d1bb0f5180266c4de4d815b3ea856a2fb3519 (patch)
tree2effbeb3391d960098a300e47d0c2a7d17100fff /src/ops.c
parentc882e4d169fd5e0364bc91642040337efe7327a6 (diff)
downloadvim-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ops.c b/src/ops.c
index 743bdd43d..53bd084ec 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -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)