From 3ed36fbe1365d46b309f5dbc5d4eb93d6ca5c3e7 Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 20 Jun 2002 00:11:43 +0000 Subject: Added parens for clarity --- generic/tclBasic.c | 7 ++++--- generic/tclExecute.c | 4 ++-- 2 files changed, 6 insertions(+), 5 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); } diff --git a/generic/tclExecute.c b/generic/tclExecute.c index bfa83fd..c1a7a2c 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.73 2002/06/19 16:28:58 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.74 2002/06/20 00:11:43 dgp Exp $ */ #include "tclInt.h" @@ -1331,7 +1331,7 @@ TclExecuteByteCode(interp, codePtr) } else { Command *cmdPtr; cmdPtr = (Command *) Tcl_GetCommandFromObj(interp, objv[0]); - if (cmdPtr != NULL && cmdPtr->flags & CMD_HAS_EXEC_TRACES) { + if ((cmdPtr != NULL) && (cmdPtr->flags & CMD_HAS_EXEC_TRACES)) { bytes = GetSrcInfoForPc(pc, codePtr, &length); } } -- cgit v0.12