Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f416a2f2ee58ed3860e3dbf3993e3ab7ee1e981f
Ticket: 817048ffffffffffffffffffffffffffffffffff
Backslashes inside curly braces
User & Date: dgp on 2003-10-04 05:04:58
Changes

  1. assignee changed to: "rmax"
  2. closedate changed to: "2003-10-03T22:04:58"
  3. closer changed to: "dgp"
  4. icomment:
    Logged In: YES 
    user_id=80530
    
    
    When scanning a brace quoted word,
    backslash substitution is not performed,
    but each backslash sequence is scanned
    as a unit.  This detail might not be
    completely obvious from the documentation,
    but it is required in order to only do
    backslash-newline substitution in the
    correct places.
    
    proc foo {} {
        set backslash \\
    }
    
    We don't want the backslash-newline
    here converted to a space.  So the second
    backslash has to be tied to the first as a unit
    during parsing.
    
    If you have a proposed improvement to the
    docs to make this clearer without making it
    confusing, I'd consider it.
    
    
  5. login: "dgp"
  6. mimetype: "text/plain"
  7. status changed to: "Closed"
  8. username: "dgp"