| Ticket UUID: | 3376407 | ||
| Title: | Tcl_ParseCommand documentation bytes vs. chars | ||
| Type: | Bug | Created on: | 2011-07-23 19:59:52 |
| Submitter: | bharder | Assigned to: | msofer |
| Subsystem: | 45. Parsing and Eval | Severity: | |
| Priority: | 5 Medium | Last modified: | 2012-05-29 16:07:35 |
| Status: | Open | Closed by: | |
| Resolution: | None | Closed on: | |
| Version: | obsolete: 8.6b2 | ||
| Description: | ||||
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? | ||||
