Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TIP 27: tclParse.c

Closed / Accepted501046ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-01-08 21:59:40
Here's a patch implementing TIP 27 
(CONST-ification of APIs) for the 
file generic/tclParse.c. It includes 
necessary changes to docs. Updated
callers.

Note that most (char *) arguments are
left as is, not changed to (CONST char *).
This is because Tcl_ParseCommand follows
the long-standing Tcl_Eval tradition of
temporarily replacing ']' with NULL when
parsing the endpoint of a Tcl command.
Following the implications of that means
most of the routines in tclParse.c need
a writable string as an argument.

Assigned to maintainer for review.
dgpplain2002-01-09 04:59:45
File Added - 15705: parse.patch
hobbsplain2002-01-17 02:02:33
Logged In: YES 
user_id=72656

looks good to me.
dgpplain2002-01-17 09:43:20
Logged In: YES 
user_id=80530

committed to HEAD (8.4a4)
dkf Ticket [501046ffff]: 3 changes [History diff]2002-02-08 16:06:04
Log in (anonymous is fine) to add a comment.

Attachments: