Skip to content
Tcl Source Code Artifact [bfe2d58d22]
Login

Artifact [bfe2d58d22]

Artifact bfe2d58d228d23de0cd360ac3f02b3f3e7e9ca6a:

Ticket change [bfe2d58d22] - Ticket [2251175fffffffff|2251175fff] <i>Expand ({*}), constants, and list syntax</i> status still Open with 4 other changes by ferrieux on 2008-11-10 16:42:28.
D 2008-11-10T16:42:28
J icomment Hmm,\smaybe\sthe\sreason\sis\sthat\sit\sis\snot\seasy\sto\stie\sany\snew\sallocations\sto\sthe\sresult\sof\sthe\sparsing.\sIndeed\sthe\srest\sof\stclParse.c\sarranges\sfor\stoken\scells\sto\sbe\sallocated/reallocated\sin\sa\scontiguous\sarray,\swith\stheir\smember\sstrings\spointing\sinto\sthe\soriginal\ssource.\sSo,\sif\swe\s(correctly)\sdecide\sto\scall\sTclCopyAndCollapse\sfor\seach\s"found\selement",\swe'll\sneed\sto\sspit\sout\sthe\sresulting\sbackslash-subst'ed\sstrings\sin\ssome\sspace\sthat\swill\sdie\sat\sTcl_FreeParse\stime.\sMaybe\swe\sneed\sto\scomplexify\sthe\sTcl_Parse\sstruct\sa\sbit\sfor\sthat\s(eg\sby\skeeping\sa\ssingle\sgrowing\smalloc'ed\sblock\ssimilar\sto\sthe\stoken\sarray\sbut\sfor\smassaged\sstrings).\sOr\smaybe\sthis\sis\spremature\soptimization\sagain,\sand\sa\slinked\slist\sof\sindividual\smallocs\swill\sdo...\n\nMiguel,\sdo\syou\sconfirm/infirm\s?\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2251175fffffffffffffffffffffffffffffffff
U ferrieux
Z c82db14ed8cc9aeb752381d8aecef9d3