diff options
| -rw-r--r-- | lapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -1089,6 +1089,7 @@ LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data, | |||
| 1089 | ZIO z; | 1089 | ZIO z; |
| 1090 | int status; | 1090 | int status; |
| 1091 | lua_lock(L); | 1091 | lua_lock(L); |
| 1092 | luaC_checkGC(L); | ||
| 1092 | if (!chunkname) chunkname = "?"; | 1093 | if (!chunkname) chunkname = "?"; |
| 1093 | luaZ_init(L, &z, reader, data); | 1094 | luaZ_init(L, &z, reader, data); |
| 1094 | status = luaD_protectedparser(L, &z, chunkname, mode); | 1095 | status = luaD_protectedparser(L, &z, chunkname, mode); |
