summaryrefslogtreecommitdiffstats
path: root/generic/tclInterp.c
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2008-08-03 17:33:10 (GMT)
committermsofer <msofer@noemail.net>2008-08-03 17:33:10 (GMT)
commitbd0c0d9a85e20ccf5dd99fc50eb7f96691931820 (patch)
treeafb13d0a8600f288efd20fab3dfb00080fedb57c /generic/tclInterp.c
parente3d98c4662ce2ca04246fe8c14645560248ecce0 (diff)
downloadtcl-bd0c0d9a85e20ccf5dd99fc50eb7f96691931820.zip
tcl-bd0c0d9a85e20ccf5dd99fc50eb7f96691931820.tar.gz
tcl-bd0c0d9a85e20ccf5dd99fc50eb7f96691931820.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: FossilOrigin-Name: 95e85cbce2128bf3ecdaddfa5bef9bbbf6242789
Diffstat (limited to 'generic/tclInterp.c')
-rw-r--r--generic/tclInterp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index daa705b..4f15134 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInterp.c,v 1.95 2008/07/31 14:43:46 msofer Exp $
+ * RCS: @(#) $Id: tclInterp.c,v 1.96 2008/08/03 17:33:12 msofer Exp $
*/
#include "tclInt.h"
@@ -1762,7 +1762,6 @@ AliasNRCmd(
Tcl_Obj *listPtr;
List *listRep;
int flags = TCL_EVAL_INVOKE;
- int result;
/*
* Append the arguments to the command prefix and invoke the command in
@@ -1808,9 +1807,7 @@ AliasNRCmd(
if (isRootEnsemble) {
TclNRAddCallback(interp, TclClearRootEnsemble, NULL, NULL, NULL, NULL);
}
- result = Tcl_NREvalObj(interp, listPtr, flags);
- TclNRClearCommandFlag(interp);
- return result;
+ return Tcl_NREvalObj(interp, listPtr, flags);
}
static int