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)
commite86d18adcb954c6cdaa595f47a553ababe192fa7 (patch)
treea9847e562821ee54943f07a73fa6387c85152d27
parent18213edfa8ddd785f6eda5f24766f09b3c95a909 (diff)
downloadtcl-e86d18adcb954c6cdaa595f47a553ababe192fa7.zip
tcl-e86d18adcb954c6cdaa595f47a553ababe192fa7.tar.gz
tcl-e86d18adcb954c6cdaa595f47a553ababe192fa7.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) {