aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lbuiltin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbuiltin.c b/lbuiltin.c
index 50183fff..589e591b 100644
--- a/lbuiltin.c
+++ b/lbuiltin.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuiltin.c,v 1.8 1997/11/19 17:29:23 roberto Exp roberto $ 2** $Id: lbuiltin.c,v 1.9 1997/11/26 18:53:45 roberto Exp roberto $
3** Built-in functions 3** Built-in functions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -213,7 +213,7 @@ static void luaI_assert (void)
213{ 213{
214 lua_Object p = lua_getparam(1); 214 lua_Object p = lua_getparam(1);
215 if (p == LUA_NOOBJECT || lua_isnil(p)) 215 if (p == LUA_NOOBJECT || lua_isnil(p))
216 lua_error("assertion failed!"); 216 luaL_verror("assertion failed! %.100s", luaL_opt_string(2, ""));
217} 217}
218 218
219 219