Overview
| Artifact ID: | 92a5055e5a02ae48395b6987bced8ea5d23af61e |
|---|---|
| Ticket: | 458361ffffffffffffffffffffffffffffffffff
single word scripts get recompiled at each call |
| User & Date: | msofer on 2002-01-10 05:16:09 |
Changes
- icomment:
Logged In: YES user_id=148712 The approach in these patches is suspect at best; to illustrate, what *should* be the return of this script? proc {set a} {} {return 0} set a 1 {set a} catch {set a} res set res The point is: should the {set a} argument to [catch] be taken as one or two words, being that both interpretations make sense? We (dgp, kennykb, myself) think it should be two words - the approach in these patches fails to satisfy this. Putting the patch on hold - the issue of "command names with spaces" requires further thought. The correct approach may be quite different anyway: avoid sharing the literals so promiscuosly. - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"