Overview
| Artifact ID: | 0f1e895128c06f48f8d1dfcc7eafb2e96f150d87 |
|---|---|
| Ticket: | 1577278fffffffffffffffffffffffffffffffff
always have a valid frame |
| User & Date: | msofer on 2006-10-14 17:21:09 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- 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 */
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "8"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "always have a valid frame"
- type changed to: "Patch"