Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 438632c91c0df413fa94c8517b24156f53b12b33d172eda31936ac3f3590e071
Ticket: 95061fc746ea9d8d4c2c244e4f6daa3e6b472150
Line number discrepency
User & Date: sebres on 2021-06-02 09:40:59
Changes

  1. icomment:
    Something seems to cause a loss for derived ICL data (invisible line continuation) on tcl-object supplied as option1 and further (recompile by epoch change?).
    
    Just I cannot reproduce this at all:
    <code><pre style="padding-left:10pt">
    % proc cmd args {puts [info frame -1]}
    % eval "if 1 {\ncmd {\\\n1 \\\n2}\n; cmd\n}"
    type eval line 2 cmd {cmd { 1  2}} level 1
    type eval line 5 cmd cmd level 1
    % eval "#if 1 {\ncmd {\\\n1 \\\n2}\n; cmd\n#}"
    type eval line 2 cmd cmd\ \{\\\n1\ \\\n2\} level 1
    type eval line 5 cmd cmd level 1
    </pre></code>
    
    1. Which tcl-version do you use?<br/>
    2. What command <code>If</code> basically is in your example? (note the uppercase "I", it is some derivative of tcl's "if" command or just a typo)<br/>
    3. What commands my_commandN actually are (NRE or C-commands, TEBC-proc, tclOO)?<br/>
    4. Can you provide some ready for tclsh real example illustrating this behavior?
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"