mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.1-098
This commit is contained in:
parent
177d8c60ee
commit
33e1a80f84
22
src/eval.c
22
src/eval.c
@ -19371,6 +19371,28 @@ trans_function_name(pp, skip, flags, fdp)
|
||||
goto theend;
|
||||
}
|
||||
|
||||
/* Check if the name is a Funcref. If so, use the value. */
|
||||
if (lv.ll_exp_name != NULL)
|
||||
{
|
||||
len = (int)STRLEN(lv.ll_exp_name);
|
||||
name = deref_func_name(lv.ll_exp_name, &len);
|
||||
if (name == lv.ll_exp_name)
|
||||
name = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
len = (int)(end - *pp);
|
||||
name = deref_func_name(*pp, &len);
|
||||
if (name == *pp)
|
||||
name = NULL;
|
||||
}
|
||||
if (name != NULL)
|
||||
{
|
||||
name = vim_strsave(name);
|
||||
*pp = end;
|
||||
goto theend;
|
||||
}
|
||||
|
||||
if (lv.ll_exp_name != NULL)
|
||||
{
|
||||
len = (int)STRLEN(lv.ll_exp_name);
|
||||
|
@ -666,6 +666,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
98,
|
||||
/**/
|
||||
97,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user