diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclVar.c | 8 |
2 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2003-11-20 Miguel Sofer <msofer@users.sf.net> + + * generic/tclVar.c: fix flag bit collision between + LOOKUP_FOR_UPVAR and TCL_PARSE_PART1 (deprecated) [Bug 835020] + 2003-11-19 Don Porter <dgp@users.sourceforge.net> * tests/compile.test (compile-16.22.0): Improved test for the diff --git a/generic/tclVar.c b/generic/tclVar.c index bb3d38e..5b11f97 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.75 2003/07/03 23:16:25 dkf Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.76 2003/11/20 18:37:55 msofer Exp $ */ #include "tclInt.h" @@ -603,8 +603,12 @@ TclObjLookupVar(interp, part1Ptr, part2, flags, msg, createPart1, createPart2, * - Bug #696893 - variable is either proc-local or in the current * namespace; never follow the second (global) resolution path * - Bug #631741 - do not use special namespace or interp resolvers + * + * It should also not collide with the (deprecated) TCL_PARSE_PART1 flag + * (Bug #835020) */ -#define LOOKUP_FOR_UPVAR 0x400 + +#define LOOKUP_FOR_UPVAR 0x40000 /* *---------------------------------------------------------------------- |