summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-11-12 03:38:12 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-11-12 03:38:12 (GMT)
commit81faf4a2ce359423c0d9e7c6a0980c9e2ac67697 (patch)
tree63d47006f8a7b704cd406b4de5c9c8ee55d96072 /generic/tclProc.c
parentcf8a7199f105edc95e59373e098af6eb47d22a16 (diff)
downloadtcl-81faf4a2ce359423c0d9e7c6a0980c9e2ac67697.zip
tcl-81faf4a2ce359423c0d9e7c6a0980c9e2ac67697.tar.gz
tcl-81faf4a2ce359423c0d9e7c6a0980c9e2ac67697.tar.bz2
* generic/tclBasic.c: New macro TclResetResult, new iPtr flag
* generic/tclExecute.c: bit INTERP_RESULT_UNCLEAN: shortcut for * generic/tclInt.h: Tcl_ResetResult for the "normal" case: * generic/tclProc.c: TCL_OK, no return options, no errorCode * generic/tclResult.c: nor errorInfo, return at normal level. * generic/tclStubLib.c: [Patch 1830184] * generic/tclUtil.c:
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 2b062bf..22333dd 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.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: tclProc.c,v 1.136 2007/11/11 19:32:17 msofer Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.137 2007/11/12 03:38:14 msofer Exp $
*/
#include "tclInt.h"
@@ -2218,6 +2218,7 @@ TclUpdateReturnInfo(
iPtr->flags |= ERR_LEGACY_COPY;
}
}
+ iPtr->flags |= INTERP_RESULT_UNCLEAN;
return code;
}