summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2018-08-14 08:46:22 (GMT)
committerhypnotoad <yoda@etoyoc.com>2018-08-14 08:46:22 (GMT)
commit9b285dde85a6b7f41dd63cadb8c32517e3b1d1dd (patch)
treed6ffa0f2db12aa93aad7514167cf818ce0695597 /generic/tclBasic.c
parentd62033b7e21f33603528c9712d11732f1fc756f7 (diff)
parente5270637c01b6fbb0f016048fc9d9735f980421a (diff)
downloadtcl-9b285dde85a6b7f41dd63cadb8c32517e3b1d1dd.zip
tcl-9b285dde85a6b7f41dd63cadb8c32517e3b1d1dd.tar.gz
tcl-9b285dde85a6b7f41dd63cadb8c32517e3b1d1dd.tar.bz2
Merging changes with 8.7
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 1fb683f..bd5b073 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -8503,18 +8503,12 @@ TclNRTailcallObjCmd(
if (objc > 1) {
Tcl_Obj *listPtr, *nsObjPtr;
Tcl_Namespace *nsPtr = (Tcl_Namespace *) iPtr->varFramePtr->nsPtr;
- Tcl_Namespace *ns1Ptr;
/* The tailcall data is in a Tcl list: the first element is the
* namespace, the rest the command to be tailcalled. */
- listPtr = Tcl_NewListObj(objc, objv);
-
nsObjPtr = Tcl_NewStringObj(nsPtr->fullName, -1);
- if ((TCL_OK != TclGetNamespaceFromObj(interp, nsObjPtr, &ns1Ptr))
- || (nsPtr != ns1Ptr)) {
- Tcl_Panic("Tailcall failed to find the proper namespace");
- }
+ listPtr = Tcl_NewListObj(objc, objv);
TclListObjSetElement(interp, listPtr, 0, nsObjPtr);
iPtr->varFramePtr->tailcallPtr = listPtr;