Merged premake/premake-dev into default

This commit is contained in:
M Skibbe 2014-10-27 11:08:45 +01:00
commit 11d0311235

View File

@ -75,6 +75,12 @@ LUALIB_API int luaL_loadfile (lua_State* L, const char* filename)
if (z == OKAY) {
lua_pushcclosure(L, chunk_wrapper, 2);
}
else {
lua_pushstring(L, "cannot open ");
lua_pushstring(L, filename);
lua_pushstring(L, ": No such file or directory");
lua_concat(L, 3);
}
return z;
}