diff options
author | stanton <stanton> | 1998-11-11 00:15:55 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-11-11 00:15:55 (GMT) |
commit | 3774776e7bc507091c0793c14cfd8fb45484e054 (patch) | |
tree | 2434dd6b56c622f0449a27ce65a462026645e803 /generic/tclCompile.c | |
parent | a9095128af52a34f6ad1a62dc2b2f34f92ad9387 (diff) | |
download | tcl-3774776e7bc507091c0793c14cfd8fb45484e054.zip tcl-3774776e7bc507091c0793c14cfd8fb45484e054.tar.gz tcl-3774776e7bc507091c0793c14cfd8fb45484e054.tar.bz2 |
fixed bug in initialization order, caught by Purify
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r-- | generic/tclCompile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 46ac1d5..a35b310 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.c,v 1.1.2.4 1998/10/06 00:35:42 stanton Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.1.2.5 1998/11/11 00:15:55 stanton Exp $ */ #include "tclInt.h" @@ -1798,10 +1798,10 @@ TclFindCompiledLocal(name, nameBytes, create, flags, procPtr) localPtr->nextPtr = NULL; localPtr->nameLength = nameBytes; localPtr->frameIndex = localVar; + localPtr->flags = flags; if (name == NULL) { localPtr->flags |= VAR_TEMPORARY; } - localPtr->flags = flags; localPtr->defValuePtr = NULL; localPtr->resolveInfo = NULL; |