On Wed, Feb 4, 2015 at 7:11 AM, Bram Moolenaar <b...@moolenaar.net> wrote:
> > Patch 7.4.618 (after 7.4.609) > Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi) > Solution: Put the return statement back. > Files: src/if_lua.c > > > *** ../vim-7.4.617/src/if_lua.c 2015-02-03 12:55:11.136179596 +0100 > --- src/if_lua.c 2015-02-03 23:07:59.892636921 +0100 > *************** > *** 1547,1552 **** > --- 1547,1553 ---- > abort = set_ref_in_item(&tv, copyID, NULL, NULL); > } > lua_pushinteger(L, abort); > + return 0; > } > Return value should be 1 which is number of results. http://www.lua.org/manual/5.3/manual.html#lua_CFunction -- Yukihiro Nakadaira - yukihiro.nakada...@gmail.com -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.