summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2002-04-18 18:05:55 (GMT)
committermsofer <msofer@noemail.net>2002-04-18 18:05:55 (GMT)
commitbcf966f6ebf28cfe25ecf4437aaf80f0afa2d10e (patch)
tree222b1707324d61bf720ccf270f662e884b530012 /generic/tclNamesp.c
parent8d30f3afa7ad1a046a44024ce90fbb1b88c56e48 (diff)
downloadtcl-bcf966f6ebf28cfe25ecf4437aaf80f0afa2d10e.zip
tcl-bcf966f6ebf28cfe25ecf4437aaf80f0afa2d10e.tar.gz
tcl-bcf966f6ebf28cfe25ecf4437aaf80f0afa2d10e.tar.bz2
[Bug 545325 ] info level didn't report namespace eval.
FossilOrigin-Name: 03de79e1ef0a213b7340c2016b8025e070def420
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index da0df83..eaad5df 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNamesp.c,v 1.29 2002/02/28 20:11:09 msofer Exp $
+ * RCS: @(#) $Id: tclNamesp.c,v 1.30 2002/04/18 18:05:57 msofer Exp $
*/
#include "tclInt.h"
@@ -2928,7 +2928,7 @@ NamespaceEvalCmd(dummy, interp, objc, objv)
Tcl_Obj *CONST objv[]; /* Argument objects. */
{
Tcl_Namespace *namespacePtr;
- Tcl_CallFrame frame;
+ CallFrame frame;
Tcl_Obj *objPtr;
char *name;
int length, result;
@@ -2966,11 +2966,13 @@ NamespaceEvalCmd(dummy, interp, objc, objv)
* the command(s).
*/
- result = Tcl_PushCallFrame(interp, &frame, namespacePtr,
- /*isProcCallFrame*/ 0);
+ result = Tcl_PushCallFrame(interp, (Tcl_CallFrame *) &frame,
+ namespacePtr, /*isProcCallFrame*/ 0);
if (result != TCL_OK) {
return TCL_ERROR;
}
+ frame.objc = objc;
+ frame.objv = objv; /* ref counts do not need to be incremented here */
if (objc == 4) {
result = Tcl_EvalObjEx(interp, objv[3], 0);