From 67578ec51f1a3ec2c967f15d370067caf9e0b87b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 17 May 2005 16:49:15 -0300 Subject: several small details --- ldblib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 6905869e..824ae680 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.96 2005/05/16 18:45:15 roberto Exp roberto $ +** $Id: ldblib.c,v 1.97 2005/05/16 21:19:00 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -48,8 +48,8 @@ static int db_setfenv (lua_State *L) { luaL_checktype(L, 2, LUA_TTABLE); lua_settop(L, 2); if (lua_setfenv(L, 1) == 0) - luaL_error(L, LUA_SM " cannot change environment of given object", - "setfenv"); + luaL_error(L, LUA_QL("setfenv") + " cannot change environment of given object"); return 1; } @@ -348,7 +348,7 @@ static int db_errorfb (lua_State *L) { if (ar.currentline > 0) lua_pushfstring(L, "%d:", ar.currentline); if (*ar.namewhat != '\0') /* is there a name? */ - lua_pushfstring(L, " in function " LUA_SM, ar.name); + lua_pushfstring(L, " in function " LUA_QS, ar.name); else { if (*ar.what == 'm') /* main? */ lua_pushfstring(L, " in main chunk"); -- cgit v1.2.3-55-g6feb