diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2015-12-12 11:54:33 (GMT) |
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2015-12-12 11:54:33 (GMT) |
| commit | 0b00017862d0b4b3df83350a1d6e399026f13343 (patch) | |
| tree | 02b61553925da55ce9bca746b100cabc8c292112 | |
| parent | e3a26ef9f6be39f0a1a66a585f11e42d76f3a90a (diff) | |
| download | tcl-0b00017862d0b4b3df83350a1d6e399026f13343.zip tcl-0b00017862d0b4b3df83350a1d6e399026f13343.tar.gz tcl-0b00017862d0b4b3df83350a1d6e399026f13343.tar.bz2 | |
Issue the correct auxType when compiling [array set].
| -rw-r--r-- | generic/tclCompCmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c index 18da741..8d0e2f6 100644 --- a/generic/tclCompCmds.c +++ b/generic/tclCompCmds.c @@ -365,7 +365,7 @@ TclCompileArraySetCmd( infoPtr->varLists[0]->numVars = 2; infoPtr->varLists[0]->varIndexes[0] = keyVar; infoPtr->varLists[0]->varIndexes[1] = valVar; - infoIndex = TclCreateAuxData(infoPtr, &tclForeachInfoType, envPtr); + infoIndex = TclCreateAuxData(infoPtr, &tclNewForeachInfoType, envPtr); /* * Start issuing instructions to write to the array. |
