diff options
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -239,6 +239,7 @@ static int str_dump (lua_State *L) { | |||
239 | if (l_unlikely(lua_dump(L, writer, &state, strip) != 0)) | 239 | if (l_unlikely(lua_dump(L, writer, &state, strip) != 0)) |
240 | return luaL_error(L, "unable to dump given function"); | 240 | return luaL_error(L, "unable to dump given function"); |
241 | luaL_pushresult(&state.B); | 241 | luaL_pushresult(&state.B); |
242 | lua_assert(lua_isfunction(L, 1)); /* lua_dump kept that value */ | ||
242 | return 1; | 243 | return 1; |
243 | } | 244 | } |
244 | 245 | ||