Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 9028117cc424438b9eb33414d65eaddbfbf2127a
Ticket: cafef7c5856ec8b1cbc0ea13c6c41d96d9982d75
Unexplained code in StringRplcCmd function (tclCmdMZ.c)
User & Date: FireTcl 2015-03-27 08:06:37
Changes

  1. icomment:
    I replaced the body of the function StringRplcCmd with only this code "return TCL_OK;" and the test
        set start end-2
        string replace $start $start end
    continues working.
    
    This means that the Tcl Interpreter doesn't call StringRplcCmd. I suppose that it calls "TclCompileStringReplaceCmd" instead.
    
  2. login: "FireTcl"
  3. mimetype: "text/plain"