forked from aniani/vim
updated for version 7.1-105
This commit is contained in:
20
src/eval.c
20
src/eval.c
@@ -6746,20 +6746,24 @@ get_dict_tv(arg, rettv, evaluate)
|
|||||||
clear_tv(&tvkey);
|
clear_tv(&tvkey);
|
||||||
goto failret;
|
goto failret;
|
||||||
}
|
}
|
||||||
key = get_tv_string_buf_chk(&tvkey, buf);
|
if (evaluate)
|
||||||
if (key == NULL || *key == NUL)
|
|
||||||
{
|
{
|
||||||
/* "key" is NULL when get_tv_string_buf_chk() gave an errmsg */
|
key = get_tv_string_buf_chk(&tvkey, buf);
|
||||||
if (key != NULL)
|
if (key == NULL || *key == NUL)
|
||||||
EMSG(_(e_emptykey));
|
{
|
||||||
clear_tv(&tvkey);
|
/* "key" is NULL when get_tv_string_buf_chk() gave an errmsg */
|
||||||
goto failret;
|
if (key != NULL)
|
||||||
|
EMSG(_(e_emptykey));
|
||||||
|
clear_tv(&tvkey);
|
||||||
|
goto failret;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
*arg = skipwhite(*arg + 1);
|
*arg = skipwhite(*arg + 1);
|
||||||
if (eval1(arg, &tv, evaluate) == FAIL) /* recursive! */
|
if (eval1(arg, &tv, evaluate) == FAIL) /* recursive! */
|
||||||
{
|
{
|
||||||
clear_tv(&tvkey);
|
if (evaluate)
|
||||||
|
clear_tv(&tvkey);
|
||||||
goto failret;
|
goto failret;
|
||||||
}
|
}
|
||||||
if (evaluate)
|
if (evaluate)
|
||||||
|
@@ -666,6 +666,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 */
|
||||||
|
/**/
|
||||||
|
105,
|
||||||
/**/
|
/**/
|
||||||
104,
|
104,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user