Skip to content
Tcl Source Code Artifact [266a9c3f21]
Login

Artifact [266a9c3f21]

Artifact 266a9c3f21cc0b497a1497945ae9cd5bbd6d076a:

Ticket change [266a9c3f21] - New ticket [218240ffffffffff|218240ffff] <i>Syntax error due to commented out line of TCL.</i>. by nobody on 2000-10-26 00:54:57.
D 2000-10-26T00:54:57
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2791\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-09-16'\nLastModified:\s'1999-09-16'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-09-16'\n\n\nName:\n\nLouis\sPetro\n\n\n\nComments:\n\nYes\s-\sone\sother\squestion.\s\sIs\sthere\sanyway\sin\sTCL\sto\sknow\sthe\scurrent\n\n\s\s\s\sline\snumber\sand\spossible\sthe\sfile\sname.\s\sI'd\slike\sto\suse\sthis\n\n\s\s\s\sinformation\sfor\sdebugging\ssimiliar\sto\sthe\s__LINE__\sand\s__FILE_\sused\sby\n\n\s\s\s\sthe\sC\sprogramming\slanguage.\n\n\n\nReproducibleScript:\n\nset\sx\s0\n\n\s\s\s\s\n\n\s\s\s\swhile\s{\s$x\s<\s10\s}\s{\n\n\s\s\s\s#\swhile\s{\s$x\s<\s21\s}\s{\n\n\s\s\s\sincr\sx\n\n\s\s\s\s}\n\n\n\nObservedBehavior:\n\nUser\sin\sour\sorganization\stend\sto\scopy\scode\sand\scomment\sout\scode\salot.\n\n\s\s\s\sWe've\sfound\sthat\scommented\scode\sis\sstill\sbeing\ssyntactically\n\n\s\s\s\scheck\sby\sTCL.\s\sIn\sthe\sabove\sexample\suser's\swe\sreceive\sa\ssyntax\serror\n\n\s\s\s\sunless\sthe\scommented\sout\scode\sis\ssyntactically\scomplete,\se.g.,\n\n\s\s\s\s\n\n\s\s\s\s#\swhile\s{\s$x\s<\s21\s}\s{\s}\n\n\s\s\s\s\n\n\s\s\s\sHas\sthis\sproblem\sbeen\sidentified?\n\n\n\nDesiredBehavior:\n\nI;d\sexpect\sthat\sa\scommented\sline\swould\sbe\streated\sas\sa\scomment\sin\sTCL.\n\n\n\nPatchFiles:\n\nI\sfound\sthat\sif\sthe\scommented\sline\sis\soutside\sthe\sloop\sabove\sit\sthen\n\n\s\s\s\sdoes\snot\safter\sthe\s"while"\sloop.\n\n\s\s\s\s\n\n\s\s\s\sset\sx\s0\n\n\s\s\s\s\n\n\s\s\s\s#while\s{\s$x\s<\s21\s}\n\n\s\s\s\swhile\s{\s$x\s<\s10\s}\s{\n\n\s\s\s\sincr\sx\n\n\s\s\s\s}\n\n\n\n\n\nThis\sis\sthe\scomment\sproblem\scropping\sup\sagain,\sand\sthis\swas\sanswered\nin\sthe\snewsgroup\s(cover\slarge\sblocks\swith\sif\s0\s{\s}).\s\n--\s09/16/1999\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Syntax\serror\sdue\sto\scommented\sout\sline\sof\sTCL.
J type Bug
K 218240ffffffffffffffffffffffffffffffffff
U nobody
Z 2791ad7d28a5aa88473f4d706dfe011f