summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2016-06-22 20:57:18 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2016-06-22 20:57:18 (GMT)
commit5cae882ff3da129b6870bfb5b702e27e3f300d9c (patch)
treeabe040e370dd9957ca380b778c3dc23cbf1d6476 /generic/tclProc.c
parentfab681eb11df755d9ac2b44d8a908d395ef7a7e5 (diff)
downloadtcl-5cae882ff3da129b6870bfb5b702e27e3f300d9c.zip
tcl-5cae882ff3da129b6870bfb5b702e27e3f300d9c.tar.gz
tcl-5cae882ff3da129b6870bfb5b702e27e3f300d9c.tar.bz2
[c95b9fc0e3] Make errorcodes out of level parsing more consistent.
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 172b860..e8c5955 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -870,7 +870,7 @@ TclObjGetFrame(
}
Tcl_SetObjResult(interp, Tcl_ObjPrintf("bad level \"%s\"", name));
- Tcl_SetErrorCode(interp, "TCL", "VALUE", "STACKLEVEL", NULL);
+ Tcl_SetErrorCode(interp, "TCL", "LOOKUP", "LEVEL", name, NULL);
return -1;
}