Tcl Source Code

Check-in [3f026007bd]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

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.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | bug-db36fa5122
Files: files | file ages | folders
SHA3-256: 3f026007bd14c9d26b047fe199b5fd14b166eb81bbcc122b7e64b192d33c2b04
User & Date: dgp 2018-03-07 18:39:44.439
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
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclAssembly.c.
Changes to generic/tclCompCmdsGR.c.
Changes to generic/tclCompCmdsSZ.c.
Changes to generic/tclCompile.h.