Overview
| Artifact ID: | 6546b7e1f63917b454eebe05eafa3b85c04fce4e |
|---|---|
| Ticket: | 3612021fffffffffffffffffffffffffffffffff
info frame gives mismatching line number with info body |
| User & Date: | jerrylipeng on 2013-04-27 09:27:43 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
See the following example: ----------------------------------------------------------------- $tclsh % proc test {} { puts "line 2: [info frame 0]" # line 3 \ line 4 puts "line 5: [info frame 0]" } % test line 2: type proc line 2 cmd {info frame 0} proc ::test level 0 line 5: type proc line 5 cmd {info frame 0} proc ::test level 0 % info body test puts "line 2: [info frame 0]" # line 3 line 4 puts "line 5: [info frame 0]" % ----------------------------------------------------------------- The second 'info frame' gives line 5 which is reasonable. But it is in line 4 of the string returned by 'info body' (because '\' is removed and line 3 and line 4 are joined together.) Is it possible make the line numbers consistent between 'info frame' and 'info body'? - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jerrylipeng"
- subsystem changed to: "None"
- title changed to:
info frame gives mismatching line number with info body
- type changed to: "Bug"