Tcl Source Code

View Ticket
Login
Ticket UUID: 501046
Title: TIP 27: tclParse.c
Type: Patch Version: CONSTify
Submitter: dgp Created on: 2002-01-08 21:59:40
Subsystem: 45. Parsing and Eval Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-02-08 16:06:04
Resolution: Accepted Closed By: dkf
    Closed on: 2002-02-08 09:06:04
Description:
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.
User Comments: dgp added on 2002-01-17 09:43:20:
Logged In: YES 
user_id=80530

committed to HEAD (8.4a4)

hobbs added on 2002-01-17 02:02:33:
Logged In: YES 
user_id=72656

looks good to me.

dgp added on 2002-01-09 04:59:45:

File Added - 15705: parse.patch

Attachments: