diff options
author | dgp <dgp@noemail.net> | 2005-04-21 22:42:02 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2005-04-21 22:42:02 (GMT) |
commit | 80a48122f19c2b6dcf7fc527c518418dc0fe84d5 (patch) | |
tree | 8ba1076ef3186cf6a0dde41d04d6f9d14cb6cb57 /generic/tclLiteral.c | |
parent | d620eb2e2716c6009b34da4a949d12c0cac0a903 (diff) | |
download | tcl-80a48122f19c2b6dcf7fc527c518418dc0fe84d5.zip tcl-80a48122f19c2b6dcf7fc527c518418dc0fe84d5.tar.gz tcl-80a48122f19c2b6dcf7fc527c518418dc0fe84d5.tar.bz2 |
* generic/tclLiteral.c: Disabled the code that forces some literals
into the "int" Tcl_ObjType during registration. We can re-enable it
if this change causes trouble, but it seems more sensible to let
Tcl's "on-demand" shimmering rule, and not try to pre-guess things.
FossilOrigin-Name: 3dd9e5220353876c6b26f0741861c733c494ad18
Diffstat (limited to 'generic/tclLiteral.c')
-rw-r--r-- | generic/tclLiteral.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclLiteral.c b/generic/tclLiteral.c index 3f9f079..c17a7e4 100644 --- a/generic/tclLiteral.c +++ b/generic/tclLiteral.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLiteral.c,v 1.21 2004/12/24 18:07:01 msofer Exp $ + * RCS: @(#) $Id: tclLiteral.c,v 1.22 2005/04/21 22:42:04 dgp Exp $ */ #include "tclInt.h" @@ -366,6 +366,7 @@ TclRegisterLiteral(envPtr, bytes, length, flags) TclInitStringRep(objPtr, bytes, length); } +#if 0 if (TclLooksLikeInt(bytes, length)) { /* * From here we use the objPtr, because it is NULL terminated @@ -378,6 +379,7 @@ TclRegisterLiteral(envPtr, bytes, length, flags) } } } +#endif #ifdef TCL_COMPILE_DEBUG if (TclLookupLiteralEntry((Tcl_Interp *) iPtr, objPtr) != NULL) { |