Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a0f4b2a0d68433e8fbbb73a7dc0bcf9078a23553
Ticket: 910595ffffffffffffffffffffffffffffffffff
Tcl_ParseExpr not as documented
User & Date: dgp on 2004-03-05 17:31:33
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
    
  4. foundin changed to: "obsolete: 8.5a1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "45. Parsing and Eval"
  10. title changed to: "Tcl_ParseExpr not as documented"
  11. type changed to: "Bug"