summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-07-30 17:34:52 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-07-30 17:34:52 (GMT)
commit1918a69119c8ee1ad9ebc0279348674902c44925 (patch)
treea9847e562821ee54943f07a73fa6387c85152d27
parenta9d643a7708f7a3a503272522fc6d8dd41f3e92d (diff)
downloadtcl-1918a69119c8ee1ad9ebc0279348674902c44925.zip
tcl-1918a69119c8ee1ad9ebc0279348674902c44925.tar.gz
tcl-1918a69119c8ee1ad9ebc0279348674902c44925.tar.bz2
fixing last commit
-rw-r--r--generic/tclBasic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 7580316..028fb1e 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -16,7 +16,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.336 2008/07/30 17:30:56 msofer Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.337 2008/07/30 17:34:52 msofer Exp $
*/
#include "tclInt.h"
@@ -4367,7 +4367,7 @@ TEOV_Exception(
int result)
{
Interp *iPtr = (Interp *) interp;
- int allowExceptions = PTR2INT(data[0]);
+ int allowExceptions = (PTR2INT(data[0]) & TCL_ALLOW_EXCEPTIONS);
if (result != TCL_OK) {
if (result == TCL_RETURN) {