summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2004-12-14 21:11:42 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2004-12-14 21:11:42 (GMT)
commitbd20925e673c0a425280fc0163ce6febaf8c1e31 (patch)
tree107f654f002e993a551fe1925e706a97939c8a44 /generic/tclCmdIL.c
parente648edc8fd0e8e6aa1d499e3392456a056f5acce (diff)
downloadtcl-bd20925e673c0a425280fc0163ce6febaf8c1e31.zip
tcl-bd20925e673c0a425280fc0163ce6febaf8c1e31.tar.gz
tcl-bd20925e673c0a425280fc0163ce6febaf8c1e31.tar.bz2
changing the isProcCallFrame field of the CallFrame struct from a 0/1 field
to flags. Should be perfectly backwards compatible.
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r--generic/tclCmdIL.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c
index cfff082..746d033 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdIL.c,v 1.70 2004/12/01 23:18:49 dgp Exp $
+ * RCS: @(#) $Id: tclCmdIL.c,v 1.71 2004/12/14 21:11:45 msofer Exp $
*/
#include "tclInt.h"
@@ -1382,7 +1382,8 @@ InfoLocalsCmd(dummy, interp, objc, objv)
return TCL_ERROR;
}
- if (iPtr->varFramePtr == NULL || !iPtr->varFramePtr->isProcCallFrame) {
+ if (iPtr->varFramePtr == NULL ||
+ !(iPtr->varFramePtr->isProcCallFrame & FRAME_IS_PROC )) {
return TCL_OK;
}
@@ -1959,7 +1960,7 @@ InfoVarsCmd(dummy, interp, objc, objv)
listPtr = Tcl_NewListObj(0, (Tcl_Obj **) NULL);
if ((iPtr->varFramePtr == NULL)
- || !iPtr->varFramePtr->isProcCallFrame
+ || !(iPtr->varFramePtr->isProcCallFrame & FRAME_IS_PROC)
|| specificNsInPattern) {
/*
* There is no frame pointer, the frame pointer was pushed only