diff options
author | dgp <dgp@users.sourceforge.net> | 2005-06-02 03:11:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2005-06-02 03:11:34 (GMT) |
commit | 83b74d8b93717170d06c75c19c7b92defe9100d7 (patch) | |
tree | 0bb29c69c4c95b10f1a65088aa7250e8dd58528b /generic/tclResult.c | |
parent | 739062154a9a146d256d6138ad44358b9d53d55d (diff) | |
download | tcl-83b74d8b93717170d06c75c19c7b92defe9100d7.zip tcl-83b74d8b93717170d06c75c19c7b92defe9100d7.tar.gz tcl-83b74d8b93717170d06c75c19c7b92defe9100d7.tar.bz2 |
This close to a release, simple is better.
Diffstat (limited to 'generic/tclResult.c')
-rw-r--r-- | generic/tclResult.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c index 611b85f..1266191 100644 --- a/generic/tclResult.c +++ b/generic/tclResult.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclResult.c,v 1.27 2005/06/01 22:19:16 dgp Exp $ + * RCS: @(#) $Id: tclResult.c,v 1.28 2005/06/02 03:11:38 dgp Exp $ */ #include "tclInt.h" @@ -927,6 +927,8 @@ Tcl_ResetResult(interp) Tcl_DecrRefCount(iPtr->errorInfo); iPtr->errorInfo = NULL; } + iPtr->returnLevel = 1; + iPtr->returnCode = TCL_OK; if (iPtr->returnOpts) { Tcl_DecrRefCount(iPtr->returnOpts); iPtr->returnOpts = NULL; |