From b840a7518df607d2a1024c33dc2cc2022054d40a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 2 Oct 2001 13:43:29 -0300 Subject: details --- lbaselib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 8ab2f024..8fe44d56 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.39 2001/07/12 18:11:58 roberto Exp $ +** $Id: lbaselib.c,v 1.41 2001/08/31 19:46:07 roberto Exp $ ** Basic library ** See Copyright Notice in lua.h */ @@ -234,7 +234,7 @@ static int luaB_settagmethod (lua_State *L) { luaL_arg_check(L, lua_isfunction(L, 3) || lua_isnil(L, 3), 3, l_s("function or nil expected")); if (strcmp(event, l_s("gc")) == 0) - lua_error(L, l_s("deprecated use: cannot set the `gc' tag method from Lua")); + lua_error(L, l_s("cannot set `gc' tag method from Lua")); lua_gettagmethod(L, tag, event); lua_pushvalue(L, 3); lua_settagmethod(L, tag, event); @@ -246,7 +246,7 @@ static int luaB_gettagmethod (lua_State *L) { int tag = gettag(L, 1); const l_char *event = luaL_check_string(L, 2); if (strcmp(event, l_s("gc")) == 0) - lua_error(L, l_s("deprecated use: cannot get the `gc' tag method from Lua")); + lua_error(L, l_s("cannot get `gc' tag method from Lua")); lua_gettagmethod(L, tag, event); return 1; } @@ -451,7 +451,7 @@ static int luaB_call (lua_State *L) { return 1; } if (strchr(options, l_c('p'))) /* pack results? */ - lua_error(L, l_s("deprecated option `p' in `call'")); + lua_error(L, l_s("obsolete option `p' in `call'")); return lua_gettop(L) - oldtop; /* results are already on the stack */ } -- cgit v1.2.3-55-g6feb