From f76f4cb79d84af4a7be9e0d75553bbe05a3ae90c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 15 Jul 2009 14:26:14 -0300 Subject: new way to control stack overflow, controling only total size of the stack --- ltests.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index bc5a21e0..cfa14c21 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.65 2009/06/15 19:51:31 roberto Exp roberto $ +** $Id: ltests.c,v 2.66 2009/06/17 17:53:14 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -570,7 +570,6 @@ static int stacklevel (lua_State *L) { unsigned long a = 0; lua_pushinteger(L, (L->top - L->stack)); lua_pushinteger(L, (L->stack_last - L->stack)); - lua_pushinteger(L, L->nci); lua_pushinteger(L, (unsigned long)&a); return 5; } -- cgit v1.2.3-55-g6feb