Overview
| Artifact ID: | ab7d7d60f8257d39bd0a11b678e2ffdb3ddc0925 |
|---|---|
| Ticket: | 2865247fffffffffffffffffffffffffffffffff
C version of [try] assumes return -level 0 |
| User & Date: | dgp on 2009-09-25 01:25:20 |
Changes
- icomment:
Good catch. The comments before TclProcessReturn (hey, I wrote them for once!) give the constraints: "Note that the code argument must agree with the -code entry in returnOpts and the level argument must agree with the -level entry in returnOpts,..." Replacing with calls to Tcl_SetReturnOptions() will enforce this constraint, so the submitted patch is a correct one. Before accepting, I'll examine if there's a more direct way instead.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"