diff options
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -36,21 +36,6 @@ | |||
36 | ** ===================================================================== | 36 | ** ===================================================================== |
37 | */ | 37 | */ |
38 | 38 | ||
39 | /* >>> move back to llimits.h | ||
40 | @@ LUAI_MAXCCALLS 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_MAXCCALLS) | ||
50 | #define LUAI_MAXCCALLS 200 | ||
51 | #endif | ||
52 | |||
53 | |||
54 | /* | 39 | /* |
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 |