aboutsummaryrefslogtreecommitdiff
path: root/src/lua/luaconf.h
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-10-22 16:02:39 +0800
committerLi Jin <dragon-fly@qq.com>2020-10-22 16:02:39 +0800
commita51a728d847e790329e41c75928a81630200b63f (patch)
tree8cc8e93a7863649499537366acecb41525022a57 /src/lua/luaconf.h
parentf6e603cc5bef133e5e368a81f677bea92bc405b5 (diff)
downloadyuescript-a51a728d847e790329e41c75928a81630200b63f.tar.gz
yuescript-a51a728d847e790329e41c75928a81630200b63f.tar.bz2
yuescript-a51a728d847e790329e41c75928a81630200b63f.zip
update Lua, fix cmakelists.txt.
Diffstat (limited to 'src/lua/luaconf.h')
-rw-r--r--src/lua/luaconf.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/lua/luaconf.h b/src/lua/luaconf.h
index bdf927e..d9cf18c 100644
--- a/src/lua/luaconf.h
+++ b/src/lua/luaconf.h
@@ -37,21 +37,6 @@
37*/ 37*/
38 38
39/* 39/*
40@@ LUAI_MAXCSTACK defines the maximum depth for nested calls and
41** also limits the maximum depth of other recursive algorithms in
42** the implementation, such as syntactic analysis. A value too
43** large may allow the interpreter to crash (C-stack overflow).
44** The default value seems ok for regular machines, but may be
45** too high for restricted hardware.
46** The test file 'cstack.lua' may help finding a good limit.
47** (It will crash with a limit too high.)
48*/
49#if !defined(LUAI_MAXCSTACK)
50#define LUAI_MAXCSTACK 2000
51#endif
52
53
54/*
55@@ LUA_USE_C89 controls the use of non-ISO-C89 features. 40@@ LUA_USE_C89 controls the use of non-ISO-C89 features.
56** Define it if you want Lua to avoid the use of a few C99 features 41** Define it if you want Lua to avoid the use of a few C99 features
57** or Windows-specific features on Windows. 42** or Windows-specific features on Windows.