Mercurial > vim
comparison src/proto/userfunc.pro @ 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 | 54219df706b5 |
children | 43532077b5ff |
comparison
equal
deleted
inserted
replaced
22972:d2b36acb42dd | 22973:4c97c0747017 |
---|---|
31 void user_func_error(int error, char_u *name); | 31 void user_func_error(int error, char_u *name); |
32 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, funcexe_T *funcexe); | 32 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, funcexe_T *funcexe); |
33 char_u *printable_func_name(ufunc_T *fp); | 33 char_u *printable_func_name(ufunc_T *fp); |
34 char_u *trans_function_name(char_u **pp, int *is_global, int skip, int flags, funcdict_T *fdp, partial_T **partial); | 34 char_u *trans_function_name(char_u **pp, int *is_global, int skip, int flags, funcdict_T *fdp, partial_T **partial); |
35 char_u *untrans_function_name(char_u *name); | 35 char_u *untrans_function_name(char_u *name); |
36 void list_functions(regmatch_T *regmatch); | |
36 ufunc_T *define_function(exarg_T *eap, char_u *name_arg); | 37 ufunc_T *define_function(exarg_T *eap, char_u *name_arg); |
37 void ex_function(exarg_T *eap); | 38 void ex_function(exarg_T *eap); |
38 void ex_defcompile(exarg_T *eap); | 39 void ex_defcompile(exarg_T *eap); |
39 int eval_fname_script(char_u *p); | 40 int eval_fname_script(char_u *p); |
40 int translated_function_exists(char_u *name, int is_global); | 41 int translated_function_exists(char_u *name, int is_global); |