aboutsummaryrefslogtreecommitdiff
path: root/jim.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-09-28 08:18:29 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:56 +1000
commit2723a575e0da1f18e1fb203df766b4b9a1db2668 (patch)
tree0c3ab6921928c920c5a38da6abc904036a62423f /jim.h
parent4dd7c62a513ffafa080419f9848c601921b45da5 (diff)
downloadjimtcl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim.h b/jim.h
index 9ea02c0..00b3a24 100644
--- a/jim.h
+++ b/jim.h
@@ -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. */