On Wednesday, February 4, 2015 at 5:44:21 AM UTC-6, Yukihiro Nakadaira wrote: > On Wed, Feb 4, 2015 at 7:11 AM, Bram Moolenaar <[email protected]> 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 >
Thanks, I don't know why I left that out. It's even in the example code I was working from: https://groups.google.com/d/topic/vim_dev/RzHGXmVewvc/discussion -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
