<i>Tcl_SubstObj: confusing comment</i> status still Open with 4 other changes
by
.
D 2002-04-18T20:22:18
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nThe\sproblem\sis\sthat\sthe\scode\sto\srecover\sfrom\san\sexceptional\nsituation\s(i.e.\scontinue)\scan't\sfigure\sout\swhere\sthe\sscript\nportion\sof\sthe\sstring\sends\swhen\sthat\sscript\sis\snot\nwell-formed.\s\sIn\sa\ssense,\sthe\sterminator\sfor\sthe\sscript\nactually\slies\sbeyond\sthe\send\sof\sthe\sstring\sit\sis\sembedded\nin!\s\sThis\sis\snot\sgood.\s\sAt\sthis\spoint,\sit\seither\spicks\sa\nrandom\ssquare\sbracket\sthat\swould\sotherwise\shave\sbeen\spart\sof\nthe\sscript\sitself,\sor\sjust\suses\sthe\send\sof\sthe\scommand\sthat\ngenerated\sthe\sexceptional\scondition,\sand\swhile\sit\swould\sbe\npossible\s(I\ssuppose)\sto\scharacterise\sthis\sbehaviour,\sit\nseems\sto\sme\sthat\sthis\swould\sbe\sspecifying\sa\sbug.\n\nAs\sI\ssaid\sbelow,\sthe\sfix\sis\sto\swork\sout\swhere\sthe\sboundaries\nof\sthe\scommand\sare\sbefore\sevaluating\sit.\s\sThat's\sbest\ncombined\swith\ssome\skind\sof\scached\scompilation\sstep\s(you\scan\nonly\scache\sif\sthe\ssubst\sflags\sare\sthe\ssame,\sof\scourse.)\n\nNothing\selse\sin\sTcl\suses\sthis\stricky\skind\sof\ssimultaneous\nparsing\sand\sevaluation.\s\s(Not\snowadays\sanyway.)\s\nFurthermore,\sit\sis\sonly\snow\sthat\sthere\sis\sa\sway\sto\stell\sit\noccurred\sbecause\sbefore\sall\sexceptions\sstopped\sthe\nprocessing\sof\sthe\sstring.\n
J login dkf
J mimetype text/plain
J username dkf
K 536831ffffffffffffffffffffffffffffffffff
U dkf
Z 99968bf67b619392897cd860d770bbff