0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1732: vimexpr: shadowing variable

Problem: vimexpr: shadowing variable
Solution: Rename local variable

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2023-08-17 23:34:09 +02:00
parent 6e940d9a1d
commit d5475e8d8d
2 changed files with 4 additions and 2 deletions

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1732,
/**/ /**/
1731, 1731,
/**/ /**/

View File

@@ -1100,9 +1100,9 @@ compile_call(
if (!has_g_namespace && !is_autoload if (!has_g_namespace && !is_autoload
&& compile_load(&p, namebuf + varlen, cctx, FALSE, FALSE) == OK) && compile_load(&p, namebuf + varlen, cctx, FALSE, FALSE) == OK)
{ {
type_T *type = get_type_on_stack(cctx, 0); type_T *s_type = get_type_on_stack(cctx, 0);
res = generate_PCALL(cctx, argcount, namebuf, type, FALSE); res = generate_PCALL(cctx, argcount, namebuf, s_type, FALSE);
goto theend; goto theend;
} }