Overview
| Comment: | Establish 4 symbols for categories of parsed index values: TCL_INDEX_START = 0 The start index. TCL_INDEX_END = -2 The "end" index. TCL_INDEX_BEFORE = -1 All indices less than start. TCL_INDEX_AFTER = INT_MAX All indices greater than "end". Then use these symbols among callers of TclGetIndexFromToken() so that index value parsing can directly implement the callers sense of when out of range indices ought to be treated the same as start or end positions. |
|---|---|
| Timelines: | family | ancestors | descendants | both | bug-db36fa5122 |
| Files: | files | file ages | folders |
| SHA3-256: |
3f026007bd14c9d26b047fe199b5fd14 |
| User & Date: | dgp on 2018-03-07 18:39:44.439 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-03-07
| ||
| 19:55 | Express INST_LIST_INDEX_IMM index processinig in terms of TCL_INDEX_END so that consistencies are ma... check-in: 31a078bec7 user: dgp tags: bug-db36fa5122 | |
| 18:39 | Establish 4 symbols for categories of parsed index values: TCL_INDEX_START = 0 The start index.... check-in: 3f026007bd user: dgp tags: bug-db36fa5122 | |
| 17:02 | Rework TclGetIndexFromToken to make use of TclGetEndOffsetFromObj, and to lay out the index value en... check-in: 8cadbda624 user: dgp tags: bug-db36fa5122 | |
Changes
Modified generic/tclAssembly.c
from [7178d05ed0]
to [4746d1ef83].
[diff]
Modified generic/tclCompCmdsGR.c
from [21d2df9b04]
to [5d70809539].
[diff]
Modified generic/tclCompCmdsSZ.c
from [3a2f05d5a6]
to [a874d79e2d].
[diff]
Modified generic/tclCompile.h
from [3d568a1d36]
to [0afb276744].
[diff]