diff options
Diffstat (limited to 'src/lua/luaconf.h')
| -rw-r--r-- | src/lua/luaconf.h | 15 |
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. |
