summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2002-04-18 18:05:55 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2002-04-18 18:05:55 (GMT)
commit21901763f1b2265d4cd44100b084ab75ccf8d342 (patch)
tree222b1707324d61bf720ccf270f662e884b530012 /generic
parent10b86ab7e14292e258f72765e28b0d9a3d55f00c (diff)
downloadtcl-21901763f1b2265d4cd44100b084ab75ccf8d342.zip
tcl-21901763f1b2265d4cd44100b084ab75ccf8d342.tar.gz
tcl-21901763f1b2265d4cd44100b084ab75ccf8d342.tar.bz2
[Bug 545325 ] info level didn't report namespace eval.
Diffstat (limited to 'generic')
-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);