diff options
author | hobbs <hobbs@noemail.net> | 2000-01-21 02:25:24 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-01-21 02:25:24 (GMT) |
commit | a2f64449e64de862c9657ac5534b2283a1ae7b32 (patch) | |
tree | 3f8bc62d1bca80a5df23cb59d2c23105866f2dae /generic/tclEncoding.c | |
parent | 053b1056da28eb1faadfde0fdc8a6c2162e7f4cd (diff) | |
download | tcl-a2f64449e64de862c9657ac5534b2283a1ae7b32.zip tcl-a2f64449e64de862c9657ac5534b2283a1ae7b32.tar.gz tcl-a2f64449e64de862c9657ac5534b2283a1ae7b32.tar.bz2 |
* generic/tclCmdIL.c (InfoBodyCmd): made [info body] return a
string if the body has been bytecompiled.
* generic/tclBasic.c (Tcl_EvalObjEx): added pedantic check for
originating proc body of bytecompiled code, #def'd out as the
change for [info body] should make it unnecessary
* tests/set.test: added test for complex array elem name compiling
* generic/tclCompCmds.c (TclCompileSetCmd): Fixed parsing of array
elements during compiling, and slightly optimised same [Bug: 3889]
FossilOrigin-Name: 15c9a98cc96085c2df465b9c553c1108074cf44d
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r-- | generic/tclEncoding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index 89453f5..c70dd0b 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEncoding.c,v 1.4 1999/12/12 22:46:41 hobbs Exp $ + * RCS: @(#) $Id: tclEncoding.c,v 1.5 2000/01/21 02:25:26 hobbs Exp $ */ #include "tclInt.h" @@ -738,9 +738,9 @@ Tcl_CreateEncoding(typePtr) encodingPtr->nullSize = typePtr->nullSize; encodingPtr->clientData = typePtr->clientData; if (typePtr->nullSize == 1) { - encodingPtr->lengthProc = strlen; + encodingPtr->lengthProc = (LengthProc *) strlen; } else { - encodingPtr->lengthProc = unilen; + encodingPtr->lengthProc = (LengthProc *) unilen; } encodingPtr->refCount = 1; encodingPtr->hPtr = hPtr; |