Skip to content
Tcl Source Code Check-in [8ff12da684]
Login

Check-in [8ff12da684]

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: 8ff12da68497083f7e6d25902f1cd4da5e7793f09a029ba23fcdb4c8959fd07f
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