comparison src/vim9.h @ 26470:ff0310e6f889 v8.2.3765

patch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others Commit: https://github.com/vim/vim/commit/dcb53be4418fe263a71c7738315241031df6c986 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 9 14:23:43 2021 +0000 patch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others Problem: Vim9: cannot use a lambda for 'opfunc' and others. Solution: Convert the lambda to a string.
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Dec 2021 15:30:04 +0100
parents a3a0885d9dd8
children 4b23672d1f0e
comparison
equal deleted inserted replaced
26469:8e3d1d2500bb 26470:ff0310e6f889
53 ISN_STOREW, // pop into window-local variable isn_arg.string 53 ISN_STOREW, // pop into window-local variable isn_arg.string
54 ISN_STORET, // pop into tab-local variable isn_arg.string 54 ISN_STORET, // pop into tab-local variable isn_arg.string
55 ISN_STORES, // pop into script variable isn_arg.loadstore 55 ISN_STORES, // pop into script variable isn_arg.loadstore
56 ISN_STOREOUTER, // pop variable into outer scope isn_arg.outer 56 ISN_STOREOUTER, // pop variable into outer scope isn_arg.outer
57 ISN_STORESCRIPT, // pop into script variable isn_arg.script 57 ISN_STORESCRIPT, // pop into script variable isn_arg.script
58 ISN_STOREOPT, // pop into option isn_arg.string 58 ISN_STOREOPT, // pop into option isn_arg.storeopt
59 ISN_STOREFUNCOPT, // pop into option isn_arg.storeopt
59 ISN_STOREENV, // pop into environment variable isn_arg.string 60 ISN_STOREENV, // pop into environment variable isn_arg.string
60 ISN_STOREREG, // pop into register isn_arg.number 61 ISN_STOREREG, // pop into register isn_arg.number
61 // ISN_STOREOTHER, // pop into other script variable isn_arg.other. 62 // ISN_STOREOTHER, // pop into other script variable isn_arg.other.
62 63
63 ISN_STORENR, // store number into local variable isn_arg.storenr.stnr_idx 64 ISN_STORENR, // store number into local variable isn_arg.storenr.stnr_idx
289 typedef struct { 290 typedef struct {
290 int stnr_idx; 291 int stnr_idx;
291 varnumber_T stnr_val; 292 varnumber_T stnr_val;
292 } storenr_T; 293 } storenr_T;
293 294
294 // arguments to ISN_STOREOPT 295 // arguments to ISN_STOREOPT and ISN_STOREFUNCOPT
295 typedef struct { 296 typedef struct {
296 char_u *so_name; 297 char_u *so_name;
297 int so_flags; 298 int so_flags;
298 } storeopt_T; 299 } storeopt_T;
299 300