Skip to content
Tcl Source Code Artifact [6df2c70670]
Login

Artifact [6df2c70670]

Artifact 6df2c70670d154c66d7c5f301342511ea4f60fdb:

Ticket change [6df2c70670] - Ticket [2251175fffffffff|2251175fff] <i>Expand ({*}), constants, and list syntax</i> status still Open with 4 other changes by ferrieux on 2008-11-12 05:04:10.
D 2008-11-12T05:04:10
J icomment I\shave\snot\schecked,\sbut\sI\sfound\sthis\sin\stclParse.c's\shistory\n\nrevision\s1.53\ndate:\s2007/05/30\s18:12:59;\s\sauthor:\sdgp;\s\sstate:\sExp;\s\slines:\s+138\s-53\n\s\s\s\s\s\s\s\s*\sgeneric/tclBasic.c:\s\s\sRemoved\scode\sthat\sdealt\swith\n\s\s\s\s\s\s\s\s*\sgeneric/tclCompile.c:\sTCL_TOKEN_EXPAND_WORD\stokens\srepresenting\n\s\s\s\s\s\s\s\s*\sgeneric/tclCompile.h:\sexpanded\sliteral\swords.\s\sThese\ssections\swere\n\s\s\s\s\s\s\s\smostly\sin\splace\sto\senable\s[info\sframe]\sto\sdiscover\sline\sinformation\n\s\s\s\s\s\s\s\sin\sexpanded\sliterals.\s\sSince\sthe\sparser\snow\sgenerates\sa\stoken\sfor\n\s\s\s\s\s\s\s\seach\spost-expansion\sword\sreferring\sto\sthe\sright\slocation\sin\sthe\n\s\s\s\s\s\s\s\soriginal\sscript\sstring,\s[info\sframe]\sgets\sall\sthe\sdata\sit\sneeds.\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclInt.h:\s\s\s\s\sRevised\sthe\sparser\sso\sthat\sit\snever\sproduces\n\s\s\s\s\s\s\s\s*\sgeneric/tclParse.c:\s\s\sTCL_TOKEN_EXPAND_WORD\stokens\swhen\sparsing\san\n\s\s\s\s\s\s\s\s*\stests/parse.test:\s\s\s\s\sexpanded\sliteral\sword;\sthat\sis,\ssomething\slike\n\s\s\s\s\s\s\s\s{*}{x\sy\sz}.\s\sInstead,\sgenerate\sthe\sseries\sof\sTCL_TOKEN_SIMPLE_WORD\n\s\s\s\s\s\s\s\stokens\sto\srepresent\sthe\swords\sthat\sexpansion\sof\sthe\sliteral\sstring\n\s\s\s\s\s\s\s\sproduces.\s\s[RFE\s1725186]\n\nSo,\sit\slooks\slike\sprior\sto\sthis\sdate,\sthings\swere\sgoing\sas\sper\swhat\sI\scalled\s"Solution\s(2)".\sSince\sthat\simplies\sruntime\sexpansion,\swhich\sinvolves\sTcl_GetListFromObj,\sI'd\srisk\sa\sguess\sthat\sthe\sbug\sappeared\sat\sthat\stime\s:-{\n\nSo\sthe\sdilemma\sbecomes:\n\n\s\s\s(1)\scomplexify\sTcl_Token\shandling\sa\sbit\sto\sflag\smust-collapse-backslash\stokens,\sto\sbe\scollapsed\sby\sthe\sclient.\n\n\s\s\s(2)\sgo\sback\sto\ssituation\sas\sof\srevision\s1.53\sof\stclParse.c\sand\sbury\s[RFE\s1725186]\n\nWhat\sdo\syou\sthink\s?\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2251175fffffffffffffffffffffffffffffffff
U ferrieux
Z e825530b88047204c5755ff22e474ff8