From 2d2d45976ce41de04e9007c8a78a8ba244d1fdc5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 22 Nov 2002 15:16:52 -0200 Subject: separated control over C recursion level --- lstate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index 5257c3e2..988ae13c 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.114 2002/11/21 14:14:42 roberto Exp roberto $ +** $Id: lstate.c,v 1.115 2002/11/21 15:16:04 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -130,6 +130,7 @@ static void preinit_state (lua_State *L) { resethookcount(L); L->openupval = NULL; L->size_ci = 0; + L->nCcalls = 0; L->base_ci = L->ci = NULL; L->errfunc = 0; setnilvalue(gt(L)); -- cgit v1.2.3-55-g6feb