Merge pull request #12653 from erw7/fix-build-freebsd-ci

build: Fix build failure with CI in FreeBSD
This commit is contained in:
James McCoy 2020-07-20 07:49:10 -04:00 committed by GitHub
commit 409a1dcdc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1405,7 +1405,9 @@ char_u *nlua_register_table_as_callable(typval_T *const arg)
lua_State *const lstate = nlua_enter();
#ifndef NDEBUG
int top = lua_gettop(lstate);
#endif
nlua_pushref(lstate, table_ref);
if (!lua_getmetatable(lstate, -1)) {