Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 72d77fe516548602b7b002c890cacca6d6ea597c
Ticket: 536879ffffffffffffffffffffffffffffffffff
[subst] & var subst exceptions
User & Date: dgp on 2002-03-29 19:38:56
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    [subst] does not handle exceptions in variable
    substitutions correctly.
    
    % list [catch {subst {a[break]b}} msg] $msg $errorInfo
      0 a {}
      % list [catch {subst {a$foo([break])b}} msg] $msg
    $errorInfo
      1 {} {
          while executing
      "subst {a$foo([break])b}"}
    
    Here's a patch to fix the problem including new
    tests.
    
  4. foundin changed to: "obsolete: 8.4a5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to: "[subst] & var subst exceptions"
  11. type changed to: "Bug"