diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-09-28 08:18:29 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 11:02:56 +1000 |
commit | 2723a575e0da1f18e1fb203df766b4b9a1db2668 (patch) | |
tree | 0c3ab6921928c920c5a38da6abc904036a62423f /jim.h | |
parent | 4dd7c62a513ffafa080419f9848c601921b45da5 (diff) | |
download | jimtcl-2723a575e0da1f18e1fb203df766b4b9a1db2668.zip jimtcl-2723a575e0da1f18e1fb203df766b4b9a1db2668.tar.gz jimtcl-2723a575e0da1f18e1fb203df766b4b9a1db2668.tar.bz2 |
Reduce max nesting depth to 1000
Helps to avoid overrunning stack
Diffstat (limited to 'jim.h')
-rw-r--r-- | jim.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ extern "C" { /* The following are internal codes and should never been seen/used */ #define JIM_EVAL 7 -#define JIM_MAX_NESTING_DEPTH 10000 /* default max nesting depth */ +#define JIM_MAX_NESTING_DEPTH 1000 /* default max nesting depth */ /* Some function get an integer argument with flags to change * the behaviour. */ |