summaryrefslogtreecommitdiffstats
path: root/generic/Lcompile.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Lcompile.c')
-rw-r--r--generic/Lcompile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Lcompile.c b/generic/Lcompile.c
index 38fb447..c1e5973 100644
--- a/generic/Lcompile.c
+++ b/generic/Lcompile.c
@@ -4536,7 +4536,7 @@ compile_foreachArray(ForEach *loop)
varlist->varIndexes[i] = s->idx;
}
info->varLists[0] = varlist;
- infoIndex = TclCreateAuxData(info, &tclForeachInfoType,
+ infoIndex = TclCreateAuxData(info, TclGetAuxDataType("ForeachInfo"),
L->frame->envPtr);
/* The values to iterate through are already on the stack (the