summaryrefslogtreecommitdiffstats
path: root/tests/switch.test
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2002-07-15 22:18:02 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2002-07-15 22:18:02 (GMT)
commit238c1dc36a4a340625f96ed76c46bd93872562ac (patch)
tree716557af52e29f2dec87f80a04f9b29ab62cded9 /tests/switch.test
parent1d0aa1a4beb25c12aa52099b1de6c4227578333a (diff)
downloadtcl-238c1dc36a4a340625f96ed76c46bd93872562ac.zip
tcl-238c1dc36a4a340625f96ed76c46bd93872562ac.tar.gz
tcl-238c1dc36a4a340625f96ed76c46bd93872562ac.tar.bz2
* generic/tclVar.c: refactorisation to reuse already looked-up Var
pointers; definition of three new Tcl_Obj types to cache variable name parsing and lookup for later reuse; modification of internal functions to profit from the caching. * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclNamesp.c: adding CONST qualifiers to variable names passed to Tcl_FindNamespaceVar and to variable resolvers; adding CONST qualifier to the 'msg' argument to TclLookupVar. Needed to avoid code duplication in the new tclVar.c code. * tests/set-old.test: * tests/var.test: slight modification of error messages due to the modifications in the tclVar.c code.
Diffstat (limited to 'tests/switch.test')
0 files changed, 0 insertions, 0 deletions