Overview
| Artifact ID: | edcbad39248e88db7e8e8785176a6effb60b862d |
|---|---|
| Ticket: | 2251175fffffffffffffffffffffffffffffffff
Expand ({*}), constants, and list syntax |
| User & Date: | dgp on 2008-11-12 23:50:26 |
Changes
- icomment:
I've not looked at the code of expand1.patch, but the description sounds more complex than I would prefer, at least as my first impulse. Applying and testing it I see: % proc \{ {} {puts [info frame 1]} % {*}[list \{] type eval line -1 cmd {{*}[list \{]} level 1 % {*}{\{} type eval line 1 cmd {{*}{\{}} level 1 which has what appears to be the proper behavior. There's no proper literals in the original script to point to, so we fall back to the "eval" reporting. I don't understand why one form reports line 1 and the other reports line -1, but since I don't understand, I don't want to make a claim of incorrectness either. If there's a reasonably obvious simpler way to achieve this, I think I'd prefer it, but if not, or if not with reasonable short term effort, then committing expand1.patch is fine with me so that we have *some* fix in place and we can debate whether or not it is the best fix at a more leisurely pace. Some additional tests are also in order. Thanks for tackling this Alexandre. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"