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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202102171406.11HE6Def2195208%40masaka.moolenaar.net.