Skip to content

Commit

Permalink
Removed LUA_ERRGCMM handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 13, 2021
1 parent 01b2b45 commit 6ff4dc3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/scripting/application_lua_kernel.cpp
Expand Up @@ -183,8 +183,6 @@ application_lua_kernel::thread * application_lua_kernel::load_script_from_string
context += " a syntax error";
} else if(errcode == LUA_ERRMEM){
context += " a memory error";
} else if(errcode == LUA_ERRGCMM) {
context += " an error in garbage collection metamethod";
} else {
context += " an unknown error";
}
Expand Down
4 changes: 0 additions & 4 deletions src/scripting/lua_kernel_base.cpp
Expand Up @@ -659,8 +659,6 @@ bool lua_kernel_base::protected_call(lua_State * L, int nArgs, int nRets, error_
context += "Lua error in attached debugger: ";
} else if (errcode == LUA_ERRMEM) {
context += "Lua out of memory error: ";
} else if (errcode == LUA_ERRGCMM) {
context += "Lua error in garbage collection metamethod: ";
} else {
context += "unknown lua error: ";
}
Expand Down Expand Up @@ -694,8 +692,6 @@ bool lua_kernel_base::load_string(char const * prog, const std::string& name, er
context += " a syntax error";
} else if(errcode == LUA_ERRMEM){
context += " a memory error";
} else if(errcode == LUA_ERRGCMM) {
context += " an error in garbage collection metamethod";
} else {
context += " an unknown error";
}
Expand Down

0 comments on commit 6ff4dc3

Please sign in to comment.