Mercurial > vim
comparison src/proto/evalvars.pro @ 24124:f4061617c438 v8.2.2603
patch 8.2.2603: Vim9: no effect if user command is also a function
Commit: https://github.com/vim/vim/commit/77b10ffad4ebad15022614be4db2745f6a90f405
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 14 13:21:35 2021 +0100
patch 8.2.2603: Vim9: no effect if user command is also a function
Problem: Vim9: no effect if user command is also a function.
Solution: Check for paren following. (closes https://github.com/vim/vim/issues/7960)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Mar 2021 13:30:03 +0100 |
parents | 0346a59ed5bf |
children | 08050e45bd06 |
comparison
equal
deleted
inserted
replaced
24123:d97cddd9f357 | 24124:f4061617c438 |
---|---|
59 int eval_variable(char_u *name, int len, typval_T *rettv, dictitem_T **dip, int flags); | 59 int eval_variable(char_u *name, int len, typval_T *rettv, dictitem_T **dip, int flags); |
60 void check_vars(char_u *name, int len); | 60 void check_vars(char_u *name, int len); |
61 dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); | 61 dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); |
62 dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); | 62 dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); |
63 hashtab_T *get_script_local_ht(void); | 63 hashtab_T *get_script_local_ht(void); |
64 int lookup_scriptitem(char_u *name, size_t len, cctx_T *dummy); | 64 int lookup_scriptitem(char_u *name, size_t len, int cmd, cctx_T *dummy); |
65 hashtab_T *find_var_ht(char_u *name, char_u **varname); | 65 hashtab_T *find_var_ht(char_u *name, char_u **varname); |
66 char_u *get_var_value(char_u *name); | 66 char_u *get_var_value(char_u *name); |
67 void new_script_vars(scid_T id); | 67 void new_script_vars(scid_T id); |
68 void init_var_dict(dict_T *dict, dictitem_T *dict_var, int scope); | 68 void init_var_dict(dict_T *dict, dictitem_T *dict_var, int scope); |
69 void unref_var_dict(dict_T *dict); | 69 void unref_var_dict(dict_T *dict); |