From 001f2bdd0e2f8803889c1b5164b57a51e44aef5b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 5 Oct 2000 09:14:08 -0300 Subject: new definition for types-tags --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 9c1e6f0b..b66cf490 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.7 2000/10/02 14:47:43 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.8 2000/10/02 20:10:55 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -322,7 +322,7 @@ static int luaB_tostring (lua_State *L) { case LUA_TNIL: lua_pushstring(L, "nil"); return 1; - case LUA_NOVALUE: + default: luaL_argerror(L, 1, "value expected"); } lua_pushstring(L, buff); -- cgit v1.2.3-55-g6feb