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 --- lbaselib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 0c794e5a..8a42f1ca 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.174 2005/05/16 19:21:11 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.175 2005/05/16 21:19:00 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -39,8 +39,8 @@ static int luaB_print (lua_State *L) { lua_call(L, 1, 1); s = lua_tostring(L, -1); /* get result */ if (s == NULL) - return luaL_error(L, LUA_SM " must return a string to " LUA_SM, - "tostring", "print"); + return luaL_error(L, LUA_QL("tostring") " must return a string to " + LUA_QL("print")); if (i>1) fputs("\t", stdout); fputs(s, stdout); lua_pop(L, 1); /* pop result */ @@ -149,8 +149,8 @@ static int luaB_setfenv (lua_State *L) { return 0; } else if (lua_iscfunction(L, -2) || lua_setfenv(L, -2) == 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; } -- cgit v1.2.3-55-g6feb