From b0a5e156b8e6913c6eb8ed65ab28576b8b88f461 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 14 Feb 2002 19:47:29 -0200 Subject: no more maximum stack size --- lstate.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index f07dae36..8ba95a59 100644 --- a/lstate.h +++ b/lstate.h @@ -73,8 +73,9 @@ struct lua_longjmp; /* defined in ldo.c */ #define BASIC_STACK_SIZE (2*LUA_MINSTACK) -#define DEFAULT_MAXSTACK 12000 - +#ifndef LUA_MAXSTACK +#define LUA_MAXSTACK 14000 +#endif @@ -141,7 +142,6 @@ struct lua_State { lua_State *next; /* circular double linked list of states */ lua_State *previous; int stacksize; - int maxstacksize; int size_ci; /* size of array `base_ci' */ int allowhooks; lua_Hook callhook; -- cgit v1.2.3-55-g6feb