diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-30 18:25:08 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-30 18:25:08 +0000 |
commit | eba3b7f6645c8f856132b4c06a009a3b0a44e21c (patch) | |
tree | 020a6f90c5d1d78881e237b5339e63a59b266769 /src/proto | |
parent | ab36e6ae7b87b0295fb19270e4339a734875c6b1 (diff) | |
download | vim-git-eba3b7f6645c8f856132b4c06a009a3b0a44e21c.tar.gz |
patch 8.2.3705: cannot pass a lambda name to function() or funcref()v8.2.3705
Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
Lakshmanan)
Solution: Handle a lambda name differently.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/userfunc.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/userfunc.pro b/src/proto/userfunc.pro index 08dedae0a..dcc5b34d0 100644 --- a/src/proto/userfunc.pro +++ b/src/proto/userfunc.pro @@ -33,6 +33,7 @@ int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typva char_u *printable_func_name(ufunc_T *fp); char_u *trans_function_name(char_u **pp, int *is_global, int skip, int flags, funcdict_T *fdp, partial_T **partial, type_T **type); char_u *untrans_function_name(char_u *name); +char_u *save_function_name(char_u **name, int *is_global, int skip, int flags, funcdict_T *fudi); void list_functions(regmatch_T *regmatch); ufunc_T *define_function(exarg_T *eap, char_u *name_arg); void ex_function(exarg_T *eap); |