summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-09-06 20:22:30 (GMT)
committersebres <sebres@users.sourceforge.net>2019-09-06 20:22:30 (GMT)
commitd0f808008dd96dd8b4ba1988087dbb644ac63283 (patch)
treea64cb5bd017baed0526b8a24a160c60dcf8f68f7 /generic/tclBasic.c
parent5ed9c57d7a6452cb9bb3ae0c72953cbbf7b81c24 (diff)
downloadtcl-d0f808008dd96dd8b4ba1988087dbb644ac63283.zip
tcl-d0f808008dd96dd8b4ba1988087dbb644ac63283.tar.gz
tcl-d0f808008dd96dd8b4ba1988087dbb644ac63283.tar.bz2
if frameName (actual level) does not contain a real level (#0 or 1) historically TclGetFrame and Tcl_UpVar2 uses current level - 1, so to put supplied name in case of bad level (error at top - 1) is wrong;
be more consistent with TclObjGetFrame (at least in error case if relative level used).
Diffstat (limited to 'generic/tclBasic.c')
0 files changed, 0 insertions, 0 deletions