Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0f1e895128c06f48f8d1dfcc7eafb2e96f150d87
Ticket: 1577278fffffffffffffffffffffffffffffffff
always have a valid frame
User & Date: msofer on 2006-10-14 17:21:09
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The patch insures that there are always valid
    iPtr->varFramePtr and iPtr->framePtr, even at root
    level. This simplifies the code as the checks for
    iPtr->varFramePtr==NULL are not needed anymore.
    
    It also adds new functionality (currently unused): core
    calls to Tcl_EvalObjv with TCL_EVAL_INVOKE may set a
    namespace in which the command lookup is to be
    performed; if none is requested, the lookup is done at
    global level as before.
    
    The patch hijacks two unused fields from the Interp struct:
    
    -    char *unused3; /* No longer used (was errorInfo) */
    -    char *unused4; /* No longer used (was errorCode) */
    +    CallFrame *rootFramePtr; /* Global frame pointer
    for this interpreter */
    +    Namespace *lookupNsPtr;  /* Namespace to use ONLY
    on the next
    +                              * TCL_EVAL_INVOKE call
    to Tcl_EvalObjv */
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "8"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "msofer"
  10. subsystem changed to: "45. Parsing and Eval"
  11. title changed to: "always have a valid frame"
  12. type changed to: "Patch"