Mercurial > vim
comparison src/vim9.h @ 26323:3841da4eac23 v8.2.3692
patch 8.2.3692: Vim9: cannot use :func inside a :def function
Commit: https://github.com/vim/vim/commit/38453528c3372293d70c8e85471a6188749ff331
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 28 22:00:12 2021 +0000
patch 8.2.3692: Vim9: cannot use :func inside a :def function
Problem: Vim9: cannot use :func inside a :def function.
Solution: Make it work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Nov 2021 23:15:03 +0100 |
parents | dd4e86558836 |
children | a3a0885d9dd8 |
comparison
equal
deleted
inserted
replaced
26322:931db05edfa7 | 26323:3841da4eac23 |
---|---|
320 int ul_forceit; // forceit flag | 320 int ul_forceit; // forceit flag |
321 } unlet_T; | 321 } unlet_T; |
322 | 322 |
323 // arguments to ISN_FUNCREF | 323 // arguments to ISN_FUNCREF |
324 typedef struct { | 324 typedef struct { |
325 int fr_func; // function index | 325 int fr_dfunc_idx; // function index for :def function |
326 char_u *fr_func_name; // function name for legacy function | |
326 } funcref_T; | 327 } funcref_T; |
327 | 328 |
328 // arguments to ISN_NEWFUNC | 329 // arguments to ISN_NEWFUNC |
329 typedef struct { | 330 typedef struct { |
330 char_u *nf_lambda; // name of the lambda already defined | 331 char_u *nf_lambda; // name of the lambda already defined |