Overview
| Artifact ID: | a0f4b2a0d68433e8fbbb73a7dc0bcf9078a23553 |
|---|---|
| Ticket: | 910595ffffffffffffffffffffffffffffffffff
Tcl_ParseExpr not as documented |
| User & Date: | dgp on 2004-03-05 17:31:33 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Docs for Tcl_ParseExpr() claim: "...Only the token information in the Tcl_Parse structure is modified: the commentStart, commentSize, commandStart, and commandSize fields are not modified by Tcl_ParseExpr." This is not true, and appears to have never been true. In fact, T_PE sets those fields to their initialized values of NULL and 0 as appropriate. There seems to be only one reason for T_PE to do this, and that is that the PrintParse() routine in tclTest.c assumes these fields have valid values and prints them, so T_PE's initialization of them avoids disaster. If tclTest.c took care of its own init needs, then T_PE could be modified to match its docs. - foundin changed to: "obsolete: 8.5a1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "Tcl_ParseExpr not as documented"
- type changed to: "Bug"