summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-07-14 00:38:00 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-07-14 00:38:00 (GMT)
commit329d552a8ac8142022bae7a52391a5b4c7da811b (patch)
tree7a11610ad81ab6b8f9aad319983d997dd81b2a1a /generic
parent4e378306f429f7d5e125b91cecf54ef4fcf6b31b (diff)
downloadtcl-329d552a8ac8142022bae7a52391a5b4c7da811b.zip
tcl-329d552a8ac8142022bae7a52391a5b4c7da811b.tar.gz
tcl-329d552a8ac8142022bae7a52391a5b4c7da811b.tar.bz2
* generic/tclParse.c: remove unnecessary numLevel management
[Bug 2017583]
Diffstat (limited to 'generic')
-rw-r--r--generic/tclParse.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c
index 126ea4f..3548ade 100644
--- a/generic/tclParse.c
+++ b/generic/tclParse.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: tclParse.c,v 1.65 2008/06/13 05:45:14 mistachkin Exp $
+ * RCS: @(#) $Id: tclParse.c,v 1.66 2008/07/14 00:38:02 msofer Exp $
*/
#include "tclInt.h"
@@ -2167,9 +2167,6 @@ TclSubstTokens(
case TCL_TOKEN_COMMAND: {
Interp *iPtr = (Interp *) interp;
- TclResetCancellation(interp, 0);
-
- iPtr->numLevels++;
code = TclInterpReady(interp);
if (code == TCL_OK) {
code = Tcl_Canceled(interp, TCL_LEAVE_ERR_MSG);
@@ -2179,7 +2176,6 @@ TclSubstTokens(
code = TclEvalEx(interp, tokenPtr->start+1, tokenPtr->size-2,
0, line);
}
- iPtr->numLevels--;
appendObj = Tcl_GetObjResult(interp);
break;
}