Overview
| Artifact ID: | cbf1ff2117eed7f163a2070344dabac3d7317e84 |
|---|---|
| Ticket: | 2923d52832931c60b2163b2e4b09c828d710a2f0
INST_STR_MATCH != TclStringMatchObj() |
| User & Date: | dgp on 2016-03-30 16:05:15 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
In tclExecute.c, the implementation of the INST_STR_MATCH instruction pretty apparently wants to be the same function as the internal routine TclStringMatchObj(). However, the code is not the same. It appears the tclExecute.c code is correct, since the TclStringMatchObj() routine in tclUtil.c is written so that a whole stanza is unreachable. This feels so wrong to have this code duplication. Is it truly unacceptable in some way to just have tclExecute.c call TclStringMatchObj() when it needs it? If so, might we at least use a common macro expansion in both places? See also http://core.tcl.tk/tcl/tktview?name=85b87a7570
- foundin changed to: "trunk"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "10. Objects"
- title changed to: "INST_STR_MATCH != TclStringMatchObj()"
- type changed to: "Bug"