eris: remove file+line from most error messages
This commit is contained in:
@@ -192,11 +192,14 @@ LUALIB_API void luaL_where (lua_State *L, int level) {
|
||||
lua_pushliteral(L, ""); /* else, no information available... */
|
||||
}
|
||||
|
||||
LUALIB_API void luaL_no_where (lua_State *L, int level) {
|
||||
lua_pushliteral(L, ""); /* else, no information available... */
|
||||
}
|
||||
|
||||
LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) {
|
||||
va_list argp;
|
||||
va_start(argp, fmt);
|
||||
luaL_where(L, 1);
|
||||
luaL_no_where(L, 1);
|
||||
lua_pushvfstring(L, fmt, argp);
|
||||
va_end(argp);
|
||||
lua_concat(L, 2);
|
||||
|
||||
Reference in New Issue
Block a user