Artifact
33c32a6ac03ea0e36cfb47573f3fe6aab182c2526e81ce21483e093bd0c4c200:
Ticket change
[33c32a6ac0]
- New ticket
[2ffab8476f5abfde|2ffab8476f] <i>where in TCL the source line attribute is assigned/calculated/kept?</i>.
by
arvind29 on
2021-06-14 17:38:30.
D 2021-06-14T17:38:30.770
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment The\sproblem\swe\sfound\sis\sthat\sin\ssome\scases\sthis\sscript\shandles\sline\snumber\sdifferently\swhen\sit’s\sran\sfrom\sTCL\s8.6.8.\sWe\sobserved\sline\s#\sdifference\scoming\sfrom\s\r\n“\r\n\s\s\s\sproc\sget_relative_line_number\s{\slevel\s}\s{\r\n\s\s\s\s\s\s\s\sincr\slevel\s-1\r\n\s\s\s\s\s\s\s\sif\s{[catch\s{set\sinfo_frame\s[info\sframe\s$level]\s}\s]\s}\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\s0\r\n\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s\s\s\sif\s{![dict\sexists\s$info_frame\sline]}\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\s0\r\n\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s\s\s\sset\sline\s[dict\sget\s$info_frame\sline]\r\n\s\s\s\s\s\s\s\sif\s{$line\s<=\s1}\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\s0\r\n\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s\s\s\sreturn\s[expr\s{$line\s-\s1}]\r\n\s\s\s\s}\r\n“\r\nat\sthe\sline\s\s“set\sline\s[dict\sget\s$info_frame\sline]”\r\nDo\syou\sknow\swhere\sin\sTCL\sthe\ssource\sline\sattribute\sis\sassigned/calculated/kept?\r\n\r\nThanks,\r\nArvind
J foundin 8.6.8
J is_private 0
J login arvind29
J priority 5\sMedium
J private_contact f31bbee5d57cdca64b0ff5fb39afeb99e5f9c194
J resolution None
J severity Minor
J status Open
J submitter arvind29
J subsystem None
J title where\sin\sTCL\sthe\ssource\sline\sattribute\sis\sassigned/calculated/kept?
J type Support
K 2ffab8476f5abfded9edee758357ae0726aef648
U arvind29
Z 228c45d1e4c40210a2e72e76d7f86a58