diff options
-rw-r--r-- | generic/tclProc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c index 200a6b6..2069ea9 100644 --- a/generic/tclProc.c +++ b/generic/tclProc.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclProc.c,v 1.90 2006/05/13 17:14:26 dgp Exp $ + * RCS: @(#) $Id: tclProc.c,v 1.91 2006/05/15 16:07:47 dgp Exp $ */ #include "tclInt.h" @@ -1572,7 +1572,8 @@ ProcCompileProc( new->iPtr = procPtr->iPtr; new->refCount = 1; - token = (Tcl_Command) new->cmdPtr = procPtr->cmdPtr; + new->cmdPtr = procPtr->cmdPtr; + token = (Tcl_Command) new->cmdPtr; new->bodyPtr = Tcl_DuplicateObj(bodyPtr); bodyPtr = new->bodyPtr; Tcl_IncrRefCount(bodyPtr); |