Overview
| Artifact ID: | f58f59f79b3380333d90bb9db03214aefa090d9f |
|---|---|
| Ticket: | 2141271fffffffffffffffffffffffffffffffff
Tcl_ParseCommand doesn't set errorInfo for a wrong command |
| User & Date: | dgp on 2008-10-02 23:31:33 |
Changes
- icomment:
Use const char *msg = Tcl_GetStringResult(interp); to fix your code. If you also want ::errorInfo set, you can achieve that by adding Tcl_AddErrorInfo(interp,"") in the branch that handles the TCL_ERROR return values.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"