Overview
| Artifact ID: | 7f234fa757a6d3517e01bcd08c017ab61da6e33e |
|---|---|
| Ticket: | 644819ffffffffffffffffffffffffffffffffff
Bytecompiled [switch] Command |
| User & Date: | vincentdarley on 2002-12-12 21:44:50 |
Changes
- icomment:
Logged In: YES user_id=32170 Shouldn't we branch out a 8.4.1 branch of tcl/tk before applying any somewhat experimental patches like this to the HEAD? My brief comments (since I was interested in how this whole byte-compiling thing works!)... + /* + * We don't care how the command's word was generated; we're + * compiling it anyway! + */ + tokenPtr += tokenPtr->numComponents + 1; this comment doesn't help me too much. What's going on in the next 20 lines of code? +/* + * Test to see if we have guessed the end of the word + * correctly; if not, we can't feed the real string to the + * sub-compilation engine, and we're then stuck and so have to + * punt out to doing everything at runtime. + */ this suggests that for some values of 'word' we're not going to compile the switch, but that seems to contradict the earlier comment which only says we'll compile '--', '-glob --', '-exact --'. My conclusion: you are right, it is very complicated!!
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"