To: vim_dev@googlegroups.com Subject: Patch 8.2.2526 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2526 (after 8.2.2525) Problem: Build failure. Solution: Change lookup_scriptvar() arguments. Files: src/evalvars.c, src/proto/evalvars.pro *** ../vim-8.2.2525/src/evalvars.c 2021-02-11 21:19:30.522147936 +0100 --- src/evalvars.c 2021-02-17 15:04:04.945274018 +0100 *************** *** 2776,2782 **** lookup_scriptvar( char_u *name, size_t len, - void *lvar UNUSED, cctx_T *dummy UNUSED) { hashtab_T *ht = get_script_local_ht(); --- 2776,2781 ---- *** ../vim-8.2.2525/src/proto/evalvars.pro 2021-02-11 21:19:30.522147936 +0100 --- src/proto/evalvars.pro 2021-02-17 15:04:10.469258145 +0100 *************** *** 60,66 **** dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); hashtab_T *get_script_local_ht(void); ! int lookup_scriptvar(char_u *name, size_t len, void *lvar, cctx_T *dummy); hashtab_T *find_var_ht(char_u *name, char_u **varname); char_u *get_var_value(char_u *name); void new_script_vars(scid_T id); --- 60,66 ---- dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); hashtab_T *get_script_local_ht(void); ! int lookup_scriptvar(char_u *name, size_t len, cctx_T *dummy); hashtab_T *find_var_ht(char_u *name, char_u **varname); char_u *get_var_value(char_u *name); void new_script_vars(scid_T id); *** ../vim-8.2.2525/src/version.c 2021-02-17 14:52:10.539374448 +0100 --- src/version.c 2021-02-17 15:05:22.245051969 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2526, /**/ -- There are 10 kinds of people: Those who understand binary and those who don't. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///