Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 02be0d0b98976039ad20fcd756d7547452a78120
Ticket: d4e7780ca1681cd095dbd81fe264feff75c988f7
"global" cmd literal sharing vs. per-interp resolvers
User & Date: gustafn2 on 2016-09-07 11:55:48
Changes

  1. icomment:
    All the changes are fine, good work! With these all of the nsf tests + OpenACS work fine as well. Since you have reduced the usage of TclRegisterNewCmdLiteral() to only one case, one could consider to remove this single occurrence as well (generic/tclCompExpr.c) and to drop the definition of the macro (generic/tclCompile.h).
    
    In my patch were a few stylistic modifications, unrelated to the issue. For example, c-style checkers recommend to write expressions like "if (flags & MASK) ..." as "if ((flags & MASK)) ..." to avoid potential confusions of a human reader between a "bitwise and" and a "Boolean and" operation. I'll attach a patch for tclLiteral.c for consideration.
    
    sorry for the delay, i was side-tracked by work...
    
  2. login: "gustafn2"
  3. mimetype: "text/plain"