Skip to content
Tcl Source Code History Of Ticket 2901433
Login

History Of Ticket 2901433

Artifacts Associated With Ticket 2901433

  1. Ticket change [53f1a68366] (rid 93850) by wjc on 2009-11-20 21:46:16:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Tcl.n says:
      
      If a word starts with the string “{*}” followed by a non-whitespace character, then the leading “{*}” is removed and the rest of the word is parsed and substituted as any other word. After substitution, the word is parsed again without substitutions, and its words are added to the command being substituted. For instance, “cmd a {*}{b c} d {*}{e f}” is equivalent to “cmd a b c d e f”.
      
      After talking with dgp on irc, and trying to explain this to someone helping out on partcl, I think this is a slight bug in the docs. Given the example:
      
      % puts {*}{abc\ndef}
      abc
      def
      
      We can see that there is another step happening here, as a result of treating the arguments to expand as a list.
      
      I would suggest perhaps that
      
      the word is parsed again without substitutions, and its words
      
      Might be more accurate as:
      
      the word is converted to a list, and the elements of that list
      
      (Bikeshedding on the actual text welcome, but I think we should mention "list" in here somewhere.)
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "wjc"
    10. subsystem initialized to: "None"
    11. title initialized to: "documentation "bug" with Tcl.n"
    12. type initialized to: "Bug"
  2. Ticket change [dc256d4b37] (rid 108089) by dkf on 2009-11-30 22:40:48:

    1. icomment:
      Needs backport to 8.5
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [04f7efba02] (rid 88962) by dkf on 2009-11-30 22:40:49:

    1. assignee changed to: "dkf"
    2. foundin changed to: "obsolete: 8.6b1.1"
    3. resolution changed to: "Fixed"
    4. subsystem changed to: "45. Parsing and Eval"
  4. Ticket change [e2c139ba51] (rid 87684) by dkf on 2009-11-30 22:44:46:

    1. closedate changed to: "2009-11-30T15:44:46"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      done
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dkf"