Overview
| Comment: | Revised TclFindElement() interface. The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. New TclFindElement() is also a better fit for the [switch] compiler. |
|---|---|
| Timelines: | family | ancestors | descendants | both | dgp-switch-compile |
| Files: | files | file ages | folders |
| SHA1: |
c2ee6476c2c62e1fe94d91b64967c976 |
| User & Date: | dgp on 2011-05-02 17:47:45.448 |
| Other Links: | branch diff | manifest | tags |
Context
|
2011-05-02
| ||
| 20:13 | Tests for expanded literals quoting detection. check-in: 8e71652744 user: dgp tags: dgp-switch-compile | |
| 17:47 | Revised TclFindElement() interface. The final argument had been bracePtr, the address of a boolean v... check-in: c2ee6476c2 user: dgp tags: dgp-switch-compile | |
| 17:36 | Revised TclFindElement() interface. The final argument had been bracePtr, the address of a boolean v... check-in: 04d0ff20b9 user: dgp tags: core-8-5-branch, potential incompatibility | |
| 15:52 | Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we actually want. check-in: 056df6f608 user: dgp tags: dgp-switch-compile | |
Changes
Modified ChangeLog
from [622e86330b]
to [a464db56ce].
[diff]
Modified generic/tclCmdMZ.c
from [0da9df546e]
to [9e49817de9].
[diff]
Modified generic/tclCompCmds.c
from [54c3f846e0]
to [8b2f82f6ef].
[diff]
Modified generic/tclDictObj.c
from [a20f4cafd3]
to [b051c74fe2].
[diff]
Modified generic/tclListObj.c
from [449c15f932]
to [5abd21797a].
[diff]
Modified generic/tclParse.c
from [e78c163926]
to [e77e6dfe43].
[diff]
Modified generic/tclUtil.c
from [16862227d0]
to [1d0d79a065].
[diff]