Skip to content
Tcl Source Code History Of Ticket 3562482fffffffff
Login

History Of Ticket 3562482fffffffff

Artifacts Associated With Ticket 3562482fffffffff

  1. Ticket change [d16639d8a7] (rid 113339) by duquette on 2012-08-28 16:10:06:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This occurs in Tcl 8.5.10 on Windows 7, Tcl 8.5.10.  The following script (also attached)
      
      ====================================================
      set script {
          puts "line 2: [info frame 0]"
          set a 5               ;# End line comment
                                ;# End line comment with unneeded semi-colon
          puts "line 5: [info frame 0]"
      }
      
      catch $script
      =====================================================
      
      gives the following output:
      
      =====================================================
      $ tclsh bug2.tcl
      line 2: type eval line 2 cmd {info frame 0} level 0
      line 5: type eval line 4 cmd {info frame 0} level 0
      =====================================================
      
      The line number reported by the second [info frame] call is off by one line number.
      
      The culprit appears to be the line just previous, which begins with "    ;#".  The semi-colon is unnecessary, and if it is removed, the line number is reported correctly.
      
      Subsequent occurrences of the same pattern will cause the offset to increment.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "duquette"
    10. subsystem initialized to: "None"
    11. title initialized to: "info frame gives wrong line number in catch"
    12. type initialized to: "Bug"
  2. Ticket change [5480533a51] (rid 93956) by duquette on 2012-08-28 23:10:10:

    1. icomment:
      
      
      File Added - 452122: bug2.tcl
      
      
      
    2. login: "duquette"
    3. mimetype: "text/plain"
    4. username: "duquette"
  3. Add attachment "bug2.tcl" [43563301d3] (rid 116540) by duquette on 2012-08-28 23:10:10.

  4. Ticket change [c2e851e632] (rid 111564) by dgp on 2012-08-31 01:19:50:

    1. icomment:
      Worth checking how this is (or isn't)
      related to 2935779
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"