diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2004-10-01 12:45:17 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2004-10-01 12:45:17 (GMT) |
| commit | 47f8dfccbe1fb9514071ed33282d55e0fc6ae120 (patch) | |
| tree | b1e8471c56791d7d6064499e823653970b1550a6 /generic/tclObj.c | |
| parent | 5b4393f1fd2ca19da1b83a6817c83a2990645ff5 (diff) | |
| download | tcl-47f8dfccbe1fb9514071ed33282d55e0fc6ae120.zip tcl-47f8dfccbe1fb9514071ed33282d55e0fc6ae120.tar.gz tcl-47f8dfccbe1fb9514071ed33282d55e0fc6ae120.tar.bz2 | |
Speed up [upvar] and [uplevel] by not forcing level references to be parsed
as strings every time through. [Patch 1037357]
Diffstat (limited to 'generic/tclObj.c')
| -rw-r--r-- | generic/tclObj.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index 8f1fa5e..9154690 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclObj.c,v 1.70 2004/09/29 22:22:50 dkf Exp $ + * RCS: @(#) $Id: tclObj.c,v 1.71 2004/10/01 12:45:20 dkf Exp $ */ #include "tclInt.h" @@ -292,6 +292,7 @@ TclInitObjSubsystem() Tcl_RegisterObjType(&tclCmdNameType); Tcl_RegisterObjType(&tclLocalVarNameType); Tcl_RegisterObjType(&tclRegexpType); + Tcl_RegisterObjType(&tclLevelReferenceType); #ifdef TCL_COMPILE_STATS Tcl_MutexLock(&tclObjMutex); |
