Overview
| Comment: | * 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
6a9cd28b04d09f7b3dedf5cdd500cc77 |
| User & Date: | msofer on 2002-07-15 22:18:02.000 |
| Other Links: | manifest | tags |
Context
|
2002-07-16
| ||
| 01:12 | using the new variable name caching possibilities when setting error results in (Tcl_AddObjErrorInfo... check-in: 99b46f3211 user: msofer tags: trunk | |
|
2002-07-15
| ||
| 22:18 | * generic/tclVar.c: refactorisation to reuse already looked-up Var pointers; definition of t... check-in: 6a9cd28b04 user: msofer tags: trunk | |
| 20:39 | * Improved constraints to protect /tmp. [Bug 581403] check-in: 81934e6e5a user: dgp tags: trunk | |
Changes
Modified ChangeLog
from [31a25407fb]
to [590bd7dd5e].
[diff]
Modified generic/tclInt.decls
from [825c757433]
to [c46ef51db9].
[diff]
Modified generic/tclInt.h
from [736555a1a1]
to [056e7b6967].
[diff]
Modified generic/tclIntDecls.h
from [9ffedd65e8]
to [bd1dc1d653].
[diff]
Modified generic/tclNamesp.c
from [a072e409bf]
to [0c18f0e406].
[diff]
Modified generic/tclVar.c
from [0168cef486]
to [85d832cc99].
[diff]
Modified tests/set-old.test
from [317a59d534]
to [f15f779822].
[diff]
Modified tests/var.test
from [9cb352998f]
to [a9cc04623b].
[diff]