Skip to content
Tcl Source Code History Of Ticket 1854399fff
Login

History Of Ticket 1854399fff

Artifacts Associated With Ticket 1854399fff

  1. Ticket change [735b164fc1] (rid 105033) by dgp on 2007-12-19 20:35:47:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      % proc try {} {
      switch -regex -- 0 {
      {[0-9]+} {return true}
      default {return false}
      }
      }
      % try
      false
      % proc try2 {} {
      set switch switch
      $switch -regexp -- 0 {
      {[0-9]+} {return true}
      default {return false}
      }
      }
      % try2
      true
      % proc try3 {} {
      switch -regexp 0 {
      {[0-9]+} {return true}
      default {return false}
      }
      }
      % try3
      true
      
      This breaks the struct
      package in tcllib pretty bad.
      
      
    4. foundin initialized to: "obsolete: 8.5.0"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "47. Bytecode Compiler"
    11. title initialized to: "compiled [switch -regexp --] is broken "
    12. type initialized to: "Bug"
  2. Ticket change [143628e389] (rid 124350) by hobbs on 2007-12-20 04:10:03:

    1. closedate changed to: "2007-12-19T21:10:03"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      Originator: NO
      
      * generic/tclCompCmds.c (TclCompileSwitchCmd):update switch -regexp
      * tests/switch.test-14.*:compilation to pass
      the cflags to INST_REGEXP (changed on 12-07).  Added tests for
      switch -regexp compilation (need more). [Bug 1854399]
      
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"