Skip to content
Tcl Source Code Artifact [646cf9084a]
Login

Artifact [646cf9084a]

Artifact 646cf9084acdce0f2b378d2cfff36ddb71bab5e3:

Ticket change [646cf9084a] - Closed ticket [1584674fffffffff|1584674fff]: <i>where has the syntax error detection gone</i> plus 7 other changes by msofer on 2008-01-12 20:46:25.
D 2008-01-12T20:46:25
J closedate 2008-01-12T13:46:25
J closer msofer
J icomment Logged\sIn:\sYES\s\nuser_id=148712\nOriginator:\sNO\n\nThis\sis\sper\sdesign.\sTcl's\shas\sstring\sinterpretation\ssemantics,\sthe\sbytecompiler\shas\sto\srespect\sthat.\sTcl8.5\shas\sfixed\sa\snumber\sof\sbugs\sin\sthat\sarea.\n\nIf\swe\schecked\sfor\ssyntax\serrors\syou\scouldn't\srun\sthe\sfollowing\s"perfectly\svalid"\scode.\sTcl8.4\swill\sreturn\san\serror,\swhich\sis\sa\sbug.\n\nproc\sfoo\sbar\s{\n\s\s\s\sif\s{$bar\s==\s0}\s{\n\s\s\s\s\s\s\s\sset\sa\s[badcall\sc\n\s\s\s\s}\selse\s{\n\s\s\s\s\s\s\s\sset\sa\s$bar\n\s\s\s\s}\n}\nfoo\s1\s;#\sreturns\s1\nproc\sif\sargs\s{return\s$args}\nfoo\s0\n\nNot\sarguing\sthat\syou\swould\s*want*\sto\srun\scode\slike\sthat,\sonly\sthat\sa\sstring\sinterpretation\slanguage\swill\srun\sit.\n
J login msofer
J mimetype text/plain
J resolution Invalid
J status Closed
J username msofer
K 1584674fffffffffffffffffffffffffffffffff
U msofer
Z e05ac335905bac09653a6581ecbc04ba