summaryrefslogtreecommitdiffstats
path: root/generic/tclOODefineCmds.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-14 07:24:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-14 07:24:45 (GMT)
commit6e2f02a5a6a694d1c1ad853307791acf1fd85c92 (patch)
tree7d98f24bc0e1f58d9bf18be980e4d1cbc157947e /generic/tclOODefineCmds.c
parent20bd9d9cabc9db212abbaf9d4dbb18eb490e9f71 (diff)
parentc9376306301e578615cfee52d2121f78cb31a225 (diff)
downloadtcl-6e2f02a5a6a694d1c1ad853307791acf1fd85c92.zip
tcl-6e2f02a5a6a694d1c1ad853307791acf1fd85c92.tar.gz
tcl-6e2f02a5a6a694d1c1ad853307791acf1fd85c92.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclOODefineCmds.c')
-rw-r--r--generic/tclOODefineCmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclOODefineCmds.c b/generic/tclOODefineCmds.c
index a3aec0b..f259954 100644
--- a/generic/tclOODefineCmds.c
+++ b/generic/tclOODefineCmds.c
@@ -1244,7 +1244,7 @@ TclOODefineSelfObjCmd(
{
Tcl_Namespace *nsPtr;
Object *oPtr;
- int result, private;
+ int result, isPrivate;
oPtr = (Object *) TclOOGetDefineCmdContext(interp);
if (oPtr == NULL) {
@@ -1256,7 +1256,7 @@ TclOODefineSelfObjCmd(
return TCL_OK;
}
- private = IsPrivateDefine(interp);
+ isPrivate = IsPrivateDefine(interp);
/*
* Make the oo::objdefine namespace the current namespace and evaluate the
@@ -1267,7 +1267,7 @@ TclOODefineSelfObjCmd(
if (InitDefineContext(interp, nsPtr, oPtr, objc, objv) != TCL_OK) {
return TCL_ERROR;
}
- if (private) {
+ if (isPrivate) {
((Interp *) interp)->varFramePtr->isProcCallFrame = PRIVATE_FRAME;
}