diff options
author | dgp <dgp@noemail.net> | 2006-01-09 18:34:16 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2006-01-09 18:34:16 (GMT) |
commit | 978f9d3e1be94672b5437e4063d07018eac3df4b (patch) | |
tree | b2447d982f1b0569fb22374e1742d32e8cbb6c61 /generic/tclNamesp.c | |
parent | e4b1fffb7d9b7f6560e84f0092b1340827a0407d (diff) | |
download | tcl-978f9d3e1be94672b5437e4063d07018eac3df4b.zip tcl-978f9d3e1be94672b5437e4063d07018eac3df4b.tar.gz tcl-978f9d3e1be94672b5437e4063d07018eac3df4b.tar.bz2 |
* generic/tclNamesp.c (NamespaceInscopeCmd): [namespace inscope]
* tests/namespace.test: commands were not reported by [info level]
[Bug 1400572].
FossilOrigin-Name: 7a2466007a4b5c0e4714c8a312c8b461005930e2
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r-- | generic/tclNamesp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 0400c1e..1d12831 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.31.2.10 2005/11/18 23:07:27 msofer Exp $ + * RCS: @(#) $Id: tclNamesp.c,v 1.31.2.11 2006/01/09 18:34:17 dgp Exp $ */ #include "tclInt.h" @@ -3357,7 +3357,7 @@ NamespaceInscopeCmd(dummy, interp, objc, objv) Tcl_Obj *CONST objv[]; /* Argument objects. */ { Tcl_Namespace *namespacePtr; - Tcl_CallFrame frame; + CallFrame frame; int i, result; if (objc < 4) { @@ -3384,11 +3384,13 @@ NamespaceInscopeCmd(dummy, interp, objc, objv) * Make the specified namespace the current namespace. */ - result = Tcl_PushCallFrame(interp, &frame, namespacePtr, + result = Tcl_PushCallFrame(interp, (Tcl_CallFrame *)&frame, namespacePtr, /*isProcCallFrame*/ 0); if (result != TCL_OK) { return result; } + frame.objc = objc; + frame.objv = objv; /* * Execute the command. If there is just one argument, just treat it as |