Skip to content
Tcl Source Code Artifact [e0fd36b214]
Login

Artifact [e0fd36b214]

Artifact e0fd36b2142b9373e082518204d64f9dd2b894ee:

Ticket change [e0fd36b214] - New ticket [217839ffffffffff|217839ffff] <i>parsing problem</i>. by nobody on 2000-10-26 00:44:43.
D 2000-10-26T00:44:43
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1715\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-04-05'\nLastModified:\s'1999-08-07'\nSeverity:\sLOW\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s1367\s2206\nOS:\sAll\nOSVersion:\sNA\nMachine:\sNA\nFixedDate:\s'2000-10-25'\nFixedInVersion:\sNA\nClosedDate:\s'1999-08-07'\n\n\nName:\s\sZachary\sWicky\nemail:\s\[email protected]\nSupport:\s\sNone\nSeverity:\s\s4\nOperatingSystem:\s\sSun\sSolaris\nSynopsis:\s\sparsing\sproblem\s\n\n\nReproducibleScript:\n\s\n#\sldjflksdalkasdf;\sputs\sabc"\nputs\s"def";\s#\sakjfaj\sklfasjklj\nset\sx\s88\nif\s{$x\s==\s1}\s{\n\s\sset\sx\s1\n#}\selse{\n#\s\sset\sx\s2\n}\n\n\n\nObservedBehavior:\nif\syou\slook\sat\sthe\sfirst\stwo\scomments,\sthey\sare\signored,\sthe\sthird\ncomment\nwith\sthe\sbad\selse,\sis\sparsed.\s\sEven\sthough\sonce\sit\shits\sthe\scomment\nline,\nparsing\sshould\sstop\s(at\sleast\saccording\sto\sthe\s"ldjf"\sline.\s\sWe\sgot\shung\nup\son\sthis\sbug\sdue\sto\sthe\sway\sthings\sare\sset\sup\son\sour\sprogram,\sthe\nerrors\nare\sgetting\ssent\sinto\sa\sblack\shole,\sso\swe\sdidn't\snotice\sit.\s\sIt\sdoesn't\nchange\sthe\sworld,\sbut\sI\swant\sto\slet\syou\sknow\sabout\sa\s'possible'\sparsing\nerror.\s\sI\sdidn't\seven\spay\sattention\sto\sthe\sline\swith\sthe\scomments\sat\sthe\nstart\sthinking,\s"Hey,\sthese\scan't\sbe\sthe\ssource\sof\sthe\sproblem"\n\n\nThis\sis\sthe\sexpected\scomment\sbehavior.\s\sBrace\smatching\sis\sdone\nbefore\scomment\srecognition,\swhich\scan\scause\sconfusion\slike\sthis.\nAn\sexample\sshowing\scorrectness:\n\n\sif\s{1}\s{set\sa\s5;\s#\sset\sthe\svar}\n\nThe\sbracing\smust\sbe\sconsidered\sfirst\s(in\sthe\scontext\sof\sthe\s'if').\nOnly\swhen\sthe\sif\sis\sevaled\sdo\swe\srecognize\sthe\s2nd\scommand\sas\sa\scomment.\s\s\n--\s08/07/1999\shobbs
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title parsing\sproblem
J type Bug
K 217839ffffffffffffffffffffffffffffffffff
U nobody
Z c9d91e0e1fca8c2a61234b62c85b68d6