summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-06-20 00:11:43 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-06-20 00:11:43 (GMT)
commit3ed36fbe1365d46b309f5dbc5d4eb93d6ca5c3e7 (patch)
tree9555026811ac4608aed5e173b98003a41981167c /generic/tclBasic.c
parentdd5ca3e8633f089cd66042b1ea81da55c5679088 (diff)
downloadtcl-3ed36fbe1365d46b309f5dbc5d4eb93d6ca5c3e7.zip
tcl-3ed36fbe1365d46b309f5dbc5d4eb93d6ca5c3e7.tar.gz
tcl-3ed36fbe1365d46b309f5dbc5d4eb93d6ca5c3e7.tar.bz2
Added parens for clarity
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 32ff2d6..4e73386 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -13,7 +13,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.60 2002/06/17 22:52:51 hobbs Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.61 2002/06/20 00:11:43 dgp Exp $
*/
#include "tclInt.h"
@@ -2985,7 +2985,8 @@ TclEvalObjvInternal(interp, objc, objv, command, length, flags)
traceCode = TclCheckInterpTraces(interp, command, length,
cmdPtr, code, TCL_TRACE_ENTER_EXEC, objc, objv);
}
- if (cmdPtr->flags & CMD_HAS_EXEC_TRACES && traceCode == TCL_OK) {
+ if ((cmdPtr->flags & CMD_HAS_EXEC_TRACES)
+ && (traceCode == TCL_OK)) {
traceCode = TclCheckExecutionTraces(interp, command, length,
cmdPtr, code, TCL_TRACE_ENTER_EXEC, objc, objv);
}
@@ -3019,7 +3020,7 @@ TclEvalObjvInternal(interp, objc, objv, command, length, flags)
/*
* Call 'leave' command traces
*/
- if (cmdPtr->flags & CMD_HAS_EXEC_TRACES && traceCode == TCL_OK) {
+ if ((cmdPtr->flags & CMD_HAS_EXEC_TRACES) && (traceCode == TCL_OK)) {
traceCode = TclCheckExecutionTraces(interp, command, length,
cmdPtr, code, TCL_TRACE_LEAVE_EXEC, objc, objv);
}