<i>[info frame] lost with indirect command call</i> status still Open with 4 other changes
by
.
D 2016-06-11T18:19:21.911
J assignee dgp
J icomment Ok.\sLet\sme\ssee\sif\sI\scan\sshed\ssome\slight\son\sthings.\r\nThe\sfunction\sin\squestion\sis\s*EnterCmdWordData*\r\nIt\sis\sused\sduring\sthe\sbyte\scompilation\sof\scode\sto\srecord\sthe\slines\seach\sword\sof\sa\ssingle\scommand\sstarts\sat.\r\nThis\sis\spart\sof\sthe\scode\spropagating\sline\sinformation\saround\sfor\sothers\sto\suse.\r\n\r\nFor\sexample,\swhen\sa\scommand\slike\r\n\r\n\s\s\s\swhile\s<expression>\s<script>\r\n\r\nis\scompiled\swe\shave\sto\sknow\sthe\sline\s<script>\sstarts\son\sso\sthat\swhen\swe\scompile\sthat\spart\sas\swell\swe\sknow\sfrom\sthere\sto\sstart\scounting\sfor\sthe\scommands\sinside\sof\s<script>.\r\n\r\nHowever\swhen\sthe\scommand\sis\r\n\r\n\s\s\s\swhile\s<expression>\s$script\r\n\r\nthen\scounting\sfrom\sthe\sbeginning\sof\swhere\s'$script'\swas\sfound\sdoes\snot\smake\ssense\sand\swould\sprovide\sthe\suser\swith\scompletely\sbogus\sline\sinformation\ssomewhere\sinto\sthe\sscript\sthe\s'while'\sis\sa\spart\sof.\sSo\sthe\s"-1"\sis\sstuck\sinto\sthat\sslot\sto\ssignal\sto\sthe\susing\splace\sthat\sthere\sis\sno\svalid\sline\sto\sstart\sfrom.\sAnd\sI\snow\swish\sthat\sI\shad\sused\sa\snamed\sconstant\sfor\sthat\smarker\sso\sthat\sI\scould\squickly\sfind\sand\spoint\syou\sto\sthese\susing\splaces\sin\sthe\score.\r\n\r\nRegardless,\sthat\sis\swhy\sthe\sunconditional\suse\sof\sthe\sline\sinformation\smakes\stests\sfail.\sThese\sshould\sbe\sthe\stests\sthat\scheck\sthat\sthe\stype\sof\spropagation\sI\smentioned\sis\sproperly\sbroken.\s...\sYes,\sthe\sfirst\sfail\sis\sinfo-23.5,\sa\sdirect\sexample\sof\sthis.\r\n\r\nThat\sis\salso\swhy\sberic's\salternate\sfix\s(adding\sthe\s'wordIdx\s==\s0'\sclause)\sdoes\swork.\r\n\r\nThe\sword[0]\sof\sa\scommand\sis\salways\sthe\scommand's\s_name_.\sIt\scannot\sbe\sa\sscript.\s(*1*)\r\n\r\nSo\sfor\sthis\sone\sword\sof\sthe\swhole\scommand\swe\scan\sget\saway\swith\snot\ssetting\sthe\smarker\svalue\seven\sif\sthat\sword\sis\snot\sknown\sat\scompile\stime,\si.e.\s$cmd,\s[cmd],\setc.\r\n\r\nI\swill\snot\sobject\sto\saccepting\sthat\schange,\salthough\sI\swould\srecommend\sto\srecord\sthe\sreason\sfor\swhy\sit\sworks\soutside\sof\sthe\scode,\swith\sreference\sto\sthe\srelevant\ssection\sof\sTcl.n\sunderlying\sthe\sreasoning,\si.e.\s(*1*).\sSo\sthat\sif\sthis\sthing\sevre\schanges\swe\sknow\swhat\splaces\sto\sbe\swary\sof\sand\sin\sneed\sof\san\supdate.
J login aku
J mimetype text/plain
K 4b61afd660d7a1d29ecf794426f46a7384b4a41f
U aku
Z 3a07eb915c1c1fab2339d3e94d4df09b