Fixed errors caused by love exceptions to give a line number (see issue #772)

This commit is contained in:
Alex Szpakowski
2013-10-23 15:20:31 -03:00
parent faf483d156
commit 259bb8ffdb
2 changed files with 2 additions and 1 deletions
@@ -1411,6 +1411,7 @@
);
name = love;
sourceTree = "<group>";
usesTabs = 1;
};
548A533617C45319431D3ECF /* modules */ = {
isa = PBXGroup;
+1 -1
View File
@@ -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