Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ec300a0f163e30715eac7f58c88eeb634e8b70ab
Ticket: 2141271fffffffffffffffffffffffffffffffff
Tcl_ParseCommand doesn't set errorInfo for a wrong command
User & Date: dgp on 2008-10-02 23:29:59
Changes

  1. icomment:
    
    See the docs for Tcl_ParseCommand:
    
    "If an error  occurred  in  parsing the
    command then TCL_ERROR is returned, an
    error message is left in interp’s result,
    and no information is left at *parsePtr."
    
    You will find the error message in the
    interp result, not in the ::errorInfo
    variable.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"