Skip to content
Tcl Source Code Artifact [3edf84ef6d]
Login

Artifact [3edf84ef6d]

Artifact 3edf84ef6d274dff26cd851436e52cf67b994dc8:

Ticket change [3edf84ef6d] - Ticket [2933089fffffffff|2933089fff] <i>info frame incorrect source type results</i> status still Open with 4 other changes by andreas_kupries on 2010-01-21 06:58:25.
D 2010-01-21T06:58:25
J icomment At\sfirst\sglance\sI\sthought\sthat\sit\sis\scalling\sof\sget_info_frame\sthrough\san\sexecution\strace\swhich\sis\sthe\sproblem\s...\sDoesn't\sseem\sto\sbe\sthe\scase\showever.\n\nA\scomparison\sof\s8.4.19,\s8.5.8,\sand\s8.6\sCVS\shead\sfurther\sshows\sthat\s8.6\sis\sOK.\sIt\sshows\sthe\scorrect\sline\snumber\sfor\sthe\suh-oh\scase,\si.e.\s35\s...\n\nAnd\sthat\sbrought\sme\son\sthe\sright\strack.\sThe\s'else'\sbranches\sof\sall\sthe\sif\sconditions\sare\sidentical,\scharacter\sfor\scharacter.\sI.e.\sthey\sare\sthe\ssame\sliteral,\sand\sthe\sbyte\scode\scompiler\smaps\sthem\sto\sa\ssingle\sTcl_Obj\svalue\sin\sthe\sgenerated\sbytecode.\n\nWhy\sis\sthat\simportant\s?\sBecause\ssome\sof\sthe\s#280\sinfo\sis\stacked\son\sthe\sTcl_Obj,\sand\sthe\solder\sversions\sof\sthe\score\sthen\sget\sconfused.\sWhen\sI\sfixed\sthe\stracking\sof\scontinuation\slines\sin\sthe\sCVS\shead\s(8.6+)\sI\salso\sdid\ssome\sliteral-sharing\swork\s...\sTclCompileObj,\sin\stclExecute.c\s...\sHm.\sI\sthought\sthere\s(per\smy\scomments)\sthat\s8.5\swould\snot\sneed\ssuch\sa\sfix.\sIt\sseems\sI\sam\smistaken.\n\nI\swill\shave\sa\slook,\ssee\sif\smy\s8.6\swork\si\snthat\sarea\scan\sbe\sback-ported\seasily.\n\nA\sworkaround\sfor\syou\sis\sto\schange\sone\sof\sthe\selse\sbranches,\sfor\sexample\sby\sadding\sa\sspace\ssomewhere\s...\sThen\sthe\sstrings\sare\snot\sidentical\sand\sare\snot\smapped\sto\sa\ssingle\sTcl_Obj,\sand\sthe\sline-counting\slogic\sgets\sit\sright.\n\nSide\snote:\s$$y\s?\sThat\sis\svery\sbrittle\sTcl,\snot\sidiomatic.\sSee\shttp://wiki.tcl.tk/8662\sfor\sa\sdiscussion\sof\sthe\ssubject.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 2933089fffffffffffffffffffffffffffffffff
U andreas_kupries
Z 9806faecfaf635784a9aaf215d57a204