Overview
| Comment: | Tcl_Parse.h : - add a new constant TYPE_OP (=0x100) in the Enum ParseTypeFlags - define 3 constants to modulate the parsing beyond the context (command or arithmetic): define TCL_CMD_NOT_NESTED 0 define TCL_CMD_NESTED_IN_CMD 1 define TCL_CMD_NESTED_IN_EXPR 2 Tcl_Parse.c : - modification of the type of tclCharTypeTable (defined as "int" instead of "unsigned char") - definitions in tclCharTypeTable : substitute TYPE_NORMAL by TYPE_OP for ascii operator chars - mofication of the terminator flag in Tcl_ParseCommand to include TYPE_OP and TYPE_CLOSE_PAREN category when coming from expr (when nested = TCL_CMD_NESTED_IN_EXPR) Tcl_CompExpr.c : - include Tcl_Parse.h - Added more raw commands into expr - (lassign, lindex, lappend, llength, string, dict,...) - Improve the way to come back from command parsing. |
|---|---|
| Timelines: | family | ancestors | descendants | both | tip-759b_tcl90 |
| Files: | files | file ages | folders |
| SHA3-256: |
8ff12da68497083f7e6d25902f1cd4da |
| User & Date: | Florentis on 2026-10-04 04:37:10.215 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-09
| ||
| 07:09 | Remove implementation of list-coma operator as mathfunc. Implement it as a LIST lexem <ul>TclComprE... check-in: acdb13487f user: Florentis tags: tip-759b_tcl90 | |
|
2026-10-04
| ||
| 04:37 | Tcl_Parse.h : - add a new constant TYPE_OP (=0x100) in the Enum ParseTypeFlags - define 3 constants ... check-in: 8ff12da684 user: Florentis tags: tip-759b_tcl90 | |
|
2026-09-27
| ||
| 09:10 | retry (was crlf end of lines) check-in: bebe578be5 user: Florentis tags: tip-759b_tcl90 | |
Changes
Modified generic/tclCompExpr.c
from [46f0ce3ad4]
to [a0cdd320bc].
[diff]
Modified generic/tclParse.c
from [c5c4f89f87]
to [8a8b150ca9].
[diff]
Modified generic/tclParse.h
from [7357b0b1a9]
to [05e6c8f7cf].
[diff]
Modified todo.md
from [03cc64110b]
to [7987523bea].
[diff]