Index: generic/nsf.c =================================================================== diff -u -r1945e08ac5a2e0f6387145d948bfb29eee0016fa -rf1b65a9694a721be01a9a2acaff5ee093456b2bd --- generic/nsf.c (.../nsf.c) (revision 1945e08ac5a2e0f6387145d948bfb29eee0016fa) +++ generic/nsf.c (.../nsf.c) (revision f1b65a9694a721be01a9a2acaff5ee093456b2bd) @@ -1988,12 +1988,13 @@ int i, localCt = varFramePtr->numCompiledLocals; Tcl_Obj **objPtrPtr = &varFramePtr->localCachePtr->varName0; - /*fprintf(stderr, ".. search #local vars %d\n", localCt);*/ + /* fprintf(stderr, ".. search #local vars %d for %s\n", localCt, varName);*/ for (i=0 ; icompiledLocals[i]; } @@ -14803,8 +14804,17 @@ if (paramPtr->flags & NSF_ARG_INITCMD) { /* cscPtr->cmdPtr = NSFindCommand(interp, "::eval"); */ + + //cscPtr->flags = 0; + //CscInit(cscPtr, object, NULL /*cl*/, NULL/*cmd*/, NSF_CSC_TYPE_PLAIN, 0); + //Nsf_PushFrameCsc(interp, cscPtr, framePtr2); + result = Tcl_EvalObjEx(interp, newValue, TCL_EVAL_DIRECT); + //Nsf_PopFrameCsc(interp, framePtr2); + //CscListRemove(interp, cscPtr); + //CscFinish(interp, cscPtr, "converter object frame"); + } else /* must be NSF_ARG_METHOD */ { Tcl_Obj *ov[3]; int oc = 0;