aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/luaconf.h b/luaconf.h
index 0fc161a4..5c714d4e 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -28,6 +28,21 @@
28*/ 28*/
29 29
30/* 30/*
31@@ LUAI_MAXCSTACK defines the maximum depth for nested calls and
32** also limits the maximum depth of other recursive algorithms in
33** the implementation, such as syntactic analysis. A value too
34** large may allow the interpreter to crash (C-stack overflow).
35** The default value seems ok for regular machines, but may be
36** too high for restricted hardware.
37** The test file 'cstack.lua' may help finding a good limit.
38** (It will crash with a limit too high.)
39*/
40#if !defined(LUAI_MAXCSTACK)
41#define LUAI_MAXCSTACK 2200
42#endif
43
44
45/*
31@@ LUA_32BITS enables Lua with 32-bit integers and 32-bit floats. You 46@@ LUA_32BITS enables Lua with 32-bit integers and 32-bit floats. You
32** can also define LUA_32BITS in the make file, but changing here you 47** can also define LUA_32BITS in the make file, but changing here you
33** ensure that all software connected to Lua will be compiled with the 48** ensure that all software connected to Lua will be compiled with the