Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7c143f726903da707b6f8a8a661e487339f23f05
Ticket: 2251175fffffffffffffffffffffffffffffffff
Expand ({*}), constants, and list syntax
User & Date: ferrieux on 2008-11-26 07:18:11
Changes

  1. icomment:
    
    
    File Added - 302973: expand2.patch
    
    Attaching expand2.patch implementing Solution2, i.e. detecting naked backslashes in to-expand literals and disabling parse-time expansion in that case. Test suite updated to acknowledge the fact.
    Also, your example now yields:
    % proc \{ {} {puts [info frame 1]}
    % {*}[list \{]
    type eval line -1 cmd {{*}[list \{]} level 1
    % {*}{\{}
    type eval line -1 cmd {{*}{\{}} level 1
    
    Notice the patch is much smaller than its apparent size due to the large number of '-', since it includes the reversion of expand1c.patch.
    
    Please review.
    File Added: expand2.patch
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"