diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-22 18:15:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-22 18:15:44 +0100 |
commit | 6abdcf82859e158713a3d5aa6b1012748ea5c2a0 (patch) | |
tree | 622b31927858c892ef03ea59bd41d93175c546fd /src/vim9.h | |
parent | dcbab75db3ba5e812f119e08cda6a02c6b028a14 (diff) | |
download | vim-git-6abdcf82859e158713a3d5aa6b1012748ea5c2a0.tar.gz |
patch 8.2.2033: Vim9: :def without argument gives compilation errorv8.2.2033
Problem: Vim9: :def without argument gives compilation error.
Solution: Add the DEF instruction. (closes #7344)
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h index 60699f994..9685b9d57 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -82,6 +82,7 @@ typedef enum { ISN_RETURN, // return, result is on top of stack ISN_FUNCREF, // push a function ref to dfunc isn_arg.funcref ISN_NEWFUNC, // create a global function from a lambda function + ISN_DEF, // list functions // expression operations ISN_JUMP, // jump if condition is matched isn_arg.jump |