summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2001-08-14 13:45:57 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2001-08-14 13:45:57 (GMT)
commit19089b7d6c05029e3e1e61876a68d1ee9ffef370 (patch)
treebc7fa5567dde337b650571567edce36b9ddc79c5 /generic/tclBasic.c
parent79fd5a7f1c58e29491307c9623d4d414398accdf (diff)
downloadtcl-19089b7d6c05029e3e1e61876a68d1ee9ffef370.zip
tcl-19089b7d6c05029e3e1e61876a68d1ee9ffef370.tar.gz
tcl-19089b7d6c05029e3e1e61876a68d1ee9ffef370.tar.bz2
use MAX_NESTING_DEPTH as default nesting depth for interps [Bug: 232564]
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index f27625a..3f3d099 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.33 2001/05/30 08:57:06 dkf Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.34 2001/08/14 13:45:57 msofer Exp $
*/
#include "tclInt.h"
@@ -314,7 +314,7 @@ Tcl_CreateInterp()
Tcl_InitHashTable(&iPtr->mathFuncTable, TCL_STRING_KEYS);
iPtr->numLevels = 0;
- iPtr->maxNestingDepth = 1000;
+ iPtr->maxNestingDepth = MAX_NESTING_DEPTH;
iPtr->framePtr = NULL;
iPtr->varFramePtr = NULL;
iPtr->activeTracePtr = NULL;