Skip to content
Tcl Source Code Artifact [9b833f94e0]
Login

Artifact [9b833f94e0]

Artifact 9b833f94e01e5d3e6478673152ca428d1fce2467:

Ticket change [9b833f94e0] - Ticket [2251175fffffffff|2251175fff] <i>Expand ({*}), constants, and list syntax</i> status still Open with 4 other changes by nijtmans on 2008-11-16 15:05:33.
D 2008-11-16T15:05:33
J icomment My\sonly\sremark\sis\sthat\sthings\slike:\n\s\s\s\scase\sTCL_TOKEN_TEXT|TCL_TOKEN_MUSTCOLLAPSE:\nlook\sconfusing:\sit\stests\sfor\sthe\snew\stoken\stype\n(a\svariant\sof\sTCL_TOKEN_TEXT).\sI\swould\snot\sintroduce\nthe\sconcept\sof\s'modifiers'\sfor\stokens,\sespecially\snot\sif\nthis\swill\sbe\sbackported\sto\sTcl\s8.5.\sWhy\snot\sjust\suse\na\snew\stoken\stype,\slike\sTCL_TOKEN_UNCOLLAPSED_TEXT\n(bikeshed\swarning:\sI\sdon't\smind\sthe\sexact\sname)\n\nThen\sin\stcl.h\swe\sget:\n\s\s\s\s\s#define\sTCL_TOKEN_UNCOLLAPSED_TEXT\s512\n\nThe\sabove\n\s\s\s\scase\sTCL_TOKEN_TEXT|TCL_TOKEN_MUSTCOLLAPSE:\nwill\ssimplify\sto\n\s\s\s\scase\sTCL_TOKEN_UNCOLLAPSED_TEXT:\n\nExpressions\slike\soriginally:\n\s\s\s\sif\s(bodyToken[i]->type\s==\sTCL_TOKEN_TEXT)\s{\nwhich\syou\schanged\sto:\n\s\s\s\sif\s(bodyToken[i]->type\s&\sTCL_TOKEN_TEXT)\s{\nwould\sbecome:\n\s\s\s\sif\s(bodyToken[i]->type\s&\s(TCL_TOKEN_TEXT|TCL_TOKEN_UNCOLLAPSED_TEXT))\s{\n\nThis\swould\smake\sthe\sintention\sof\sthe\spatch\smore\sclear.\sIt\smakes\sthe\nremark\syou\sput\sin\stcl.h\sunneccessary,\sand\sthe\scase\sstatement\nless\sconfusing.\n\nApart\sform\sthat,\sit\slooks\sfine\sto\sme.\n\nMy\s$.02\n\nRegards,\n\s\s\s\s\s\s\s\s\s\sJan\sNijtmans\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 2251175fffffffffffffffffffffffffffffffff
U nijtmans
Z 59749e36d589ec6d3b981de4976b7157