aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-23 14:41:16 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-23 14:41:16 -0200
commit196c87c9cecfacf978f37de4ec69eba0a5971256 (patch)
treece434c8a63228cf1f25adcc2210ba741ee899887 /llimits.h
parent39f26b1480502cc2f75a5af6e06e5410e06634ba (diff)
downloadlua-196c87c9cecfacf978f37de4ec69eba0a5971256.tar.gz
lua-196c87c9cecfacf978f37de4ec69eba0a5971256.tar.bz2
lua-196c87c9cecfacf978f37de4ec69eba0a5971256.zip
no more 'stackless' implementation; 'luaV_execute' calls itself
recursively to execute function calls. 'unroll' continues all executions suspended by an yield (through a long jump)
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llimits.h b/llimits.h
index 4b35dfcb..4e641008 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.143 2017/06/01 19:16:34 roberto Exp roberto $ 2** $Id: llimits.h,v 1.144 2017/06/27 11:35:01 roberto Exp roberto $
3** Limits, basic types, and some other 'installation-dependent' definitions 3** Limits, basic types, and some other 'installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -140,10 +140,11 @@ typedef LUAI_UACINT l_uacInt;
140 140
141/* 141/*
142** maximum depth for nested C calls and syntactical nested non-terminals 142** maximum depth for nested C calls and syntactical nested non-terminals
143** in a program. (Value must fit in an unsigned short int.) 143** in a program. (Value must fit in an unsigned short int. It must also
144** be compatible with the size of the C stack.)
144*/ 145*/
145#if !defined(LUAI_MAXCCALLS) 146#if !defined(LUAI_MAXCCALLS)
146#define LUAI_MAXCCALLS 200 147#define LUAI_MAXCCALLS 1000
147#endif 148#endif
148 149
149 150