diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-31 14:11:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-31 14:11:58 +0200 |
commit | b54c3ff3174dbb5dfbfcabdf95200b047beaa644 (patch) | |
tree | a230032c07f9373c65ca64e4b9c237e70b4d6a54 /src/proto/userfunc.pro | |
parent | fc1f2015e833e69b89b994faf4b2c4fc1e09220f (diff) | |
download | vim-git-b54c3ff3174dbb5dfbfcabdf95200b047beaa644.tar.gz |
patch 7.4.2134v7.4.2134
Problem: No error for using function() badly.
Solution: Check for passing wrong function name. (Ken Takata)
Diffstat (limited to 'src/proto/userfunc.pro')
-rw-r--r-- | src/proto/userfunc.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/userfunc.pro b/src/proto/userfunc.pro index 42c5883d0..bd3960447 100644 --- a/src/proto/userfunc.pro +++ b/src/proto/userfunc.pro @@ -9,7 +9,7 @@ int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typva void ex_function(exarg_T *eap); int eval_fname_script(char_u *p); int translated_function_exists(char_u *name); -int function_exists(char_u *name); +int function_exists(char_u *name, int no_deref); char_u *get_expanded_name(char_u *name, int check); void func_dump_profile(FILE *fd); void prof_child_enter(proftime_T *tm); |