aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/luaconf.h b/luaconf.h
index bdf927e7..229413d2 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -36,8 +36,8 @@
36** ===================================================================== 36** =====================================================================
37*/ 37*/
38 38
39/* 39/* >>> move back to llimits.h
40@@ LUAI_MAXCSTACK defines the maximum depth for nested calls and 40@@ LUAI_MAXCCALLS defines the maximum depth for nested calls and
41** also limits the maximum depth of other recursive algorithms in 41** also limits the maximum depth of other recursive algorithms in
42** the implementation, such as syntactic analysis. A value too 42** the implementation, such as syntactic analysis. A value too
43** large may allow the interpreter to crash (C-stack overflow). 43** large may allow the interpreter to crash (C-stack overflow).
@@ -46,8 +46,8 @@
46** The test file 'cstack.lua' may help finding a good limit. 46** The test file 'cstack.lua' may help finding a good limit.
47** (It will crash with a limit too high.) 47** (It will crash with a limit too high.)
48*/ 48*/
49#if !defined(LUAI_MAXCSTACK) 49#if !defined(LUAI_MAXCCALLS)
50#define LUAI_MAXCSTACK 2000 50#define LUAI_MAXCCALLS 200
51#endif 51#endif
52 52
53 53