]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.4.619 v7.4.619
authorBram Moolenaar <Bram@vim.org>
Wed, 4 Feb 2015 21:02:37 +0000 (22:02 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 4 Feb 2015 21:02:37 +0000 (22:02 +0100)
Problem:    luaV_setref() not returning the correct value.
Solution:   Return one.

src/if_lua.c
src/version.c

index b4789c449e89198b0c628c10344fe171402de993..0ca81e3d89136826a1308cd37722ab7dd00e98c8 100644 (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? */
index 791d007b7b65d7cf5f7b21edf36d9e485e67c423..8bf1fbbc519ed1f36df22db3f559a69890d87b53 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    619,
 /**/
     618,
 /**/