From 1bdde38bd24b137a240aede92363837e3d1a79b9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 5 Sep 2002 16:45:42 -0300 Subject: no more newlines at the end of error messages --- lbaselib.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 16f84ec4..6baa5ccf 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.96 2002/08/06 18:54:18 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.97 2002/08/08 20:08:41 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -82,8 +82,7 @@ static int luaB_error (lua_State *L) { else { /* add extra information */ luaL_where(L, level); lua_pushvalue(L, 1); - lua_pushliteral(L, "\n"); - lua_concat(L, 3); + lua_concat(L, 2); } return lua_error(L); } -- cgit v1.2.3-55-g6feb