Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-03-27
05:21 • Ticket [792598ffff] remove TCL_PARSE_PART1 from tcl.h status still Closed wi... artifact: 61fa24fb15 user: msofer
05:04 • Closed ticket [792598ffff]. artifact: eafe4a7b64 user: msofer
2003-08-22
00:45 • Ticket [792598ffff]: 4 changes artifact: f208a10621 user: hume
2003-08-21
16:20 • New ticket [792598ffff]. artifact: e1c1b99468 user: hume

remove TCL_PARSE_PART1 from tcl.h

Closed / Out of Date792598ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-08-21 16:20:10
The deprecated flag TCL_PARSE_PART1 is declared in 
tcl.h with the comment that it no longer has an effect.  
However, beginning with Tcl 8.4 there is a possible 
conflict with LOOKUP_FOR_UPVAR.  It would be better to 
no longer define this flag, so that maintainers of older 
code will have an error and fix the error, rather than 
have subtle problems with variable assignments.
humeplain2003-08-22 00:45:00
Logged In: YES 
user_id=625620

The LOOKUP_FOR_UPVAR value conflict is more serious than I 
thought at first since it breaks loading of compiled packages 
that use TCL_PARSE_PART1.  I believe the 
LOOKUP_FOR_UPVAR conflict is in 8.4.3 and 8.4.4 based on a 
quick look at the revision history of generic/tclVar.c.  Can a 
different value be chosen for LOOKUP_FOR_UPVAR so that 
binary compatibility of package loading is restored?
msoferplain2004-03-27 05:04:22
Logged In: YES 
user_id=148712

Fixed by changing the value of LOOKUP_FOR_UPVAR (see Bug
#835020). Can't remove the deprecated flag, as TclX uses it.
msofer Ticket [792598ffff]: 3 changes [History diff]2004-03-27 05:21:19
Log in (anonymous is fine) to add a comment.