comparison src/vim9.h @ 19334:61646c189622 v8.2.0225

patch 8.2.0225: compiling lambda not tested yet Commit: https://github.com/vim/vim/commit/777770fbb0f3c091cbfa22572b953c0723355710 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 6 21:27:08 2020 +0100 patch 8.2.0225: compiling lambda not tested yet Problem: compiling lambda not tested yet. Solution: Add test for lambda and funcref. Drop unused instruction arg.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Feb 2020 21:30:03 +0100
parents 9dc843109c97
children 3b026343f398
comparison
equal deleted inserted replaced
19333:2de8257d69b8 19334:61646c189622
128 int cuf_argcount; // number of arguments on top of stack 128 int cuf_argcount; // number of arguments on top of stack
129 } cufunc_T; 129 } cufunc_T;
130 130
131 typedef enum { 131 typedef enum {
132 JUMP_ALWAYS, 132 JUMP_ALWAYS,
133 JUMP_IF_TRUE, // pop and jump if true
134 JUMP_IF_FALSE, // pop and jump if false 133 JUMP_IF_FALSE, // pop and jump if false
135 JUMP_AND_KEEP_IF_TRUE, // jump if top of stack is true, drop if not 134 JUMP_AND_KEEP_IF_TRUE, // jump if top of stack is true, drop if not
136 JUMP_AND_KEEP_IF_FALSE, // jump if top of stack is false, drop if not 135 JUMP_AND_KEEP_IF_FALSE, // jump if top of stack is false, drop if not
137 } jumpwhen_T; 136 } jumpwhen_T;
138 137