summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-08-03 17:33:10 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-08-03 17:33:10 (GMT)
commit245ab4ae255929317069b92446f66b83c901b8f8 (patch)
treeafb13d0a8600f288efd20fab3dfb00080fedb57c /generic/tclNamesp.c
parent4e05e9902f3b5f40de10d672ed0c5e1a106dc8ae (diff)
downloadtcl-245ab4ae255929317069b92446f66b83c901b8f8.zip
tcl-245ab4ae255929317069b92446f66b83c901b8f8.tar.gz
tcl-245ab4ae255929317069b92446f66b83c901b8f8.tar.bz2
* generic/tclBasic.c: new unsupported command atProcExit
* generic/tclCompile.h: that shares the implementation with * generic/tclExecute.c: tailcall. Fixed a segfault in * generic/tclInt.h: tailcalls. Tests added. * generic/tclInterp.c: * generic/tclNamesp.c: * tests/unsupported.test:
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index bad1fc7..c9f022d 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -23,7 +23,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.173 2008/07/31 14:43:47 msofer Exp $
+ * RCS: @(#) $Id: tclNamesp.c,v 1.174 2008/08/03 17:33:12 msofer Exp $
*/
#include "tclInt.h"
@@ -6224,7 +6224,7 @@ NsEnsembleImplementationCmdNR(
* target command prefix. */
Tcl_Obj *copyPtr; /* The actual list of words to dispatch to.
* Will be freed by the dispatch engine. */
- int prefixObjc, copyObjc, result;
+ int prefixObjc, copyObjc;
Interp *iPtr = (Interp *) interp;
/*
@@ -6285,9 +6285,7 @@ NsEnsembleImplementationCmdNR(
* Hand off to the target command.
*/
- result = Tcl_NREvalObj(interp, copyPtr, TCL_EVAL_INVOKE);
- TclNRClearCommandFlag(interp);
- return result;
+ return Tcl_NREvalObj(interp, copyPtr, TCL_EVAL_INVOKE);
}
unknownOrAmbiguousSubcommand: