mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Fixed errors caused by love exceptions to give a line number (see issue #772)
This commit is contained in:
@@ -1411,6 +1411,7 @@
|
||||
);
|
||||
name = love;
|
||||
sourceTree = "<group>";
|
||||
usesTabs = 1;
|
||||
};
|
||||
548A533617C45319431D3ECF /* modules */ = {
|
||||
isa = PBXGroup;
|
||||
|
||||
@@ -486,7 +486,7 @@ Type luax_type(lua_State *L, int idx);
|
||||
lua_pushstring(L, e.what()); \
|
||||
} \
|
||||
if (should_error) \
|
||||
return lua_error(L); \
|
||||
return luaL_error(L, "%s", lua_tostring(L, -1)); \
|
||||
}
|
||||
|
||||
} // love
|
||||
|
||||
Reference in New Issue
Block a user