From 3a9516ffc8de0d33051f83dc786dba615d6bac49 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Sun, 6 Apr 1997 11:08:08 -0300 Subject: luaL check functions do not need the function name (it can be accessed via luadebug interface). --- hash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index dcf3992a..a794d14f 100644 --- a/hash.c +++ b/hash.c @@ -3,7 +3,7 @@ ** hash manager for lua */ -char *rcs_hash="$Id: hash.c,v 2.39 1997/03/31 14:17:09 roberto Exp roberto $"; +char *rcs_hash="$Id: hash.c,v 2.40 1997/04/04 15:35:37 roberto Exp roberto $"; #include "luamem.h" @@ -302,8 +302,8 @@ void lua_next (void) Hash *t; lua_Object o = lua_getparam(1); lua_Object r = lua_getparam(2); - luaL_arg_check(lua_istable(o), "next", 1, "table expected"); - luaL_arg_check(r != LUA_NOOBJECT, "next", 2, "value expected"); + luaL_arg_check(lua_istable(o), 1, "table expected"); + luaL_arg_check(r != LUA_NOOBJECT, 2, "value expected"); t = avalue(luaI_Address(o)); if (lua_isnil(r)) { -- cgit v1.2.3-55-g6feb