comparison src/vim9.h @ 22973:4c97c0747017 v8.2.2033

patch 8.2.2033: Vim9: :def without argument gives compilation error Commit: https://github.com/vim/vim/commit/6abdcf82859e158713a3d5aa6b1012748ea5c2a0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 22 18:15:44 2020 +0100 patch 8.2.2033: Vim9: :def without argument gives compilation error Problem: Vim9: :def without argument gives compilation error. Solution: Add the DEF instruction. (closes https://github.com/vim/vim/issues/7344)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Nov 2020 18:30:05 +0100
parents f2bfee4ac356
children a943b175586a
comparison
equal deleted inserted replaced
22972:d2b36acb42dd 22973:4c97c0747017
80 ISN_PCALL, // call partial, use isn_arg.pfunc 80 ISN_PCALL, // call partial, use isn_arg.pfunc
81 ISN_PCALL_END, // cleanup after ISN_PCALL with cpf_top set 81 ISN_PCALL_END, // cleanup after ISN_PCALL with cpf_top set
82 ISN_RETURN, // return, result is on top of stack 82 ISN_RETURN, // return, result is on top of stack
83 ISN_FUNCREF, // push a function ref to dfunc isn_arg.funcref 83 ISN_FUNCREF, // push a function ref to dfunc isn_arg.funcref
84 ISN_NEWFUNC, // create a global function from a lambda function 84 ISN_NEWFUNC, // create a global function from a lambda function
85 ISN_DEF, // list functions
85 86
86 // expression operations 87 // expression operations
87 ISN_JUMP, // jump if condition is matched isn_arg.jump 88 ISN_JUMP, // jump if condition is matched isn_arg.jump
88 89
89 // loop 90 // loop