From d8678edddc98beab8eb78e63e698191a9ffd39b8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 18 Jun 2002 12:16:18 -0300 Subject: luaL_verror -> luaL_error --- lmathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lmathlib.c') diff --git a/lmathlib.c b/lmathlib.c index c14c5d72..559d3f1b 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.45 2002/05/06 19:05:10 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.46 2002/06/05 17:24:04 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -187,7 +187,7 @@ static int math_random (lua_State *L) { lua_pushnumber(L, (int)(r*(u-l+1))+l); /* integer between `l' and `u' */ break; } - default: return luaL_verror(L, "wrong number of arguments"); + default: return luaL_error(L, "wrong number of arguments"); } return 1; } -- cgit v1.2.3-55-g6feb