disable exeptions in cmake
This commit is contained in:
@@ -97,8 +97,10 @@ public:
|
||||
{
|
||||
int code = lua_pcall (L, nargs, nresults, msgh);
|
||||
|
||||
if (code != LUABRIDGE_LUA_OK)
|
||||
Throw (LuaException (L, code));
|
||||
if (code != LUABRIDGE_LUA_OK) {
|
||||
// Throw (LuaException (L, code));
|
||||
assert(true);
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -128,7 +130,8 @@ protected:
|
||||
private:
|
||||
static int throwAtPanic (lua_State* L)
|
||||
{
|
||||
throw LuaException (L, -1);
|
||||
// throw LuaException (L, -1);
|
||||
return -1;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user