summaryrefslogtreecommitdiffstats
path: root/generic/tclOOInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-12 21:13:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-12 21:13:12 (GMT)
commitb8d59146476a0fb99360874d0fb8bec5b3214e42 (patch)
tree824c73f990cb390d31b0f960dd6b9a145517fc9e /generic/tclOOInt.h
parent1a567dbf84dd441c71e4fe4f598d21a291cda91b (diff)
parent6fb4e398d601951ffbc80a9156685beec71ebe2e (diff)
downloadtcl-b8d59146476a0fb99360874d0fb8bec5b3214e42.zip
tcl-b8d59146476a0fb99360874d0fb8bec5b3214e42.tar.gz
tcl-b8d59146476a0fb99360874d0fb8bec5b3214e42.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclOOInt.h')
-rw-r--r--generic/tclOOInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclOOInt.h b/generic/tclOOInt.h
index 848c912..342def6 100644
--- a/generic/tclOOInt.h
+++ b/generic/tclOOInt.h
@@ -655,7 +655,7 @@ MODULE_SCOPE void TclOOSetupVariableResolver(Tcl_Namespace *nsPtr);
#define FOREACH(var,ary) \
for(i=0 ; i<(ary).num; i++) if ((ary).list[i] == NULL) { \
continue; \
- } else if (var = (ary).list[i], 1)
+ } else if ((var) = (ary).list[i], 1)
/*
* A variation where the array is an array of structs. There's no issue with