Skip to content
Tcl Source Code Artifact [90e4921a3f]
Login

Artifact [90e4921a3f]

Artifact 90e4921a3f584f475cb0858d4c4e25551aec27a1:

Ticket change [90e4921a3f] - New ticket [684744ffffffffff|684744ffff] <i>embedded NULL foils [info complete]</i>. by dgp on 2003-02-11 17:07:53.
D 2003-02-11T17:07:53
J assignee dgp
J cmimetype text/plain
J comment \nThe\sTcl\sparse\swas\srewritten\sfor\srelease\s8.1\nto\sallow\sfor\sembedded\sNULL\scharacters\nto\sbe\streated\sjust\slike\sany\sother\scharacter.\nThe\sparser\sis\swritten\sto\stokenize\sit\slike\sany\nother.\s\sFor\sexample:\n\n%\sproc\sbytestring\ss\s{return\s[encoding\sconvertfrom\nidentity\s$s]}\n%\sproc\s[bytestring\s\\x00]\s{}\s{puts\sNULL}\n%\s[bytestring\s\\x00]\nNULL\n%\seval\s[bytestring\s\\x00]\nNULL\n\nHowever,\san\sembedded\sNULL\sstops\sthe\sparsing\nof\s[info\scomplete]:\n\n%\sinfo\scomplete\s[bytestring\s"\\x00;if\s1\s\\{"]\n1\n\n[info\scomplete]\snever\sscans\spast\sthe\sNULL\nto\sdiscover\sthe\smissing\sclose-brace\nincompleteness.\n\nNOTE:\sThis\sexample\swill\snot\swork\sin\sthe\scurrent\nHEAD\sdue\sto\sTcl\sBug\s684699
J foundin obsolete:\s8.4.1
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 45.\sParsing\sand\sEval
J title embedded\sNULL\sfoils\s[info\scomplete]
J type Bug
K 684744ffffffffffffffffffffffffffffffffff
U dgp
Z 3346701037d833f86817fe0c4dc3453a