diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 10:42:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-16 10:42:11 +0800 |
| commit | 54dab9ed9e200f7c5bcac4a8f4901770fa15fa4f (patch) | |
| tree | e07099845b2da8889f38a6f742ca8901f439782c /src/nvim/eval/userfunc.h | |
| parent | 6adfd24a066c207334609a6b149ada19c0f568d4 (diff) | |
| parent | d7965293ec18314df284ef53c363b73c2f3c1db8 (diff) | |
| download | rneovim-54dab9ed9e200f7c5bcac4a8f4901770fa15fa4f.tar.gz rneovim-54dab9ed9e200f7c5bcac4a8f4901770fa15fa4f.tar.bz2 rneovim-54dab9ed9e200f7c5bcac4a8f4901770fa15fa4f.zip | |
Merge pull request #23118 from zeertzjq/vim-8.2.3783
vim-patch:8.2.{1945,2848,2977,2978,3783,3786}
Diffstat (limited to 'src/nvim/eval/userfunc.h')
| -rw-r--r-- | src/nvim/eval/userfunc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/eval/userfunc.h b/src/nvim/eval/userfunc.h index d0ad53c43d..4a98afb00e 100644 --- a/src/nvim/eval/userfunc.h +++ b/src/nvim/eval/userfunc.h @@ -75,6 +75,8 @@ typedef struct { partial_T *fe_partial; ///< for extra arguments dict_T *fe_selfdict; ///< Dictionary for "self" typval_T *fe_basetv; ///< base for base->method() + bool fe_found_var; ///< if the function is not found then give an + ///< error that a variable is not callable. } funcexe_T; #define FUNCEXE_INIT (funcexe_T) { \ @@ -86,6 +88,7 @@ typedef struct { .fe_partial = NULL, \ .fe_selfdict = NULL, \ .fe_basetv = NULL, \ + .fe_found_var = false, \ } #define FUNCARG(fp, j) ((char **)(fp->uf_args.ga_data))[j] |