1
0
forked from aniani/vim

updated for version 7.4.619

Problem:    luaV_setref() not returning the correct value.
Solution:   Return one.
This commit is contained in:
Bram Moolenaar
2015-02-04 22:02:37 +01:00
parent 9d49da8cbb
commit b84634de30
2 changed files with 5 additions and 2 deletions

View File

@@ -1517,7 +1517,7 @@ luaV_luaeval (lua_State *L)
return 0;
}
luaV_totypval(L, -1, rettv);
return 0;
return 1;
}
static int
@@ -1530,7 +1530,8 @@ luaV_setref (lua_State *L)
luaV_getfield(L, LUAVIM_LIST);
luaV_getfield(L, LUAVIM_DICT);
lua_pushnil(L);
while (!abort && lua_next(L, lua_upvalueindex(1)) != 0) /* traverse cache table */
/* traverse cache table */
while (!abort && lua_next(L, lua_upvalueindex(1)) != 0)
{
lua_getmetatable(L, -1);
if (lua_rawequal(L, -1, 2)) /* list? */

View File

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