Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl_ParseCommand documentation bytes vs. chars

Open3376407fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-07-23 19:59:52
in the Tcl_ParseCommand documentation, the struct Tcl_Token component "size" is described as "the total number of characters in the token". In the case of the two size components of the struct Tcl_Parse (for size of comment, size of command) the size is described as holding number of *bytes*. Browsing source code (head,  8.6b1.2), the comments in the tcl.h header suggest the the "size" component of the Tcl_Token structure holds the number of bytes. Documentation error?
dkf Ticket [3376407fff]: 2 changes [History diff]2012-05-29 16:07:35
Log in (anonymous is fine) to add a comment.