Skip to content
Tcl Source Code History Of Ticket 218532
Login

History Of Ticket 218532

Artifacts Associated With Ticket 218532

  1. Ticket change [6d185b2607] (rid 128632) by nobody on 2000-10-26 01:01:49:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 915 RFE
      Version: 8.0.3
      SubmitDate: '1998-12-04'
      LastModified: '1999-08-06'
      Severity: MED
      Status: Released
      Submitter: welch
      ChangedBy: hobbs
      RelatedBugIDs: 822
      OS: Linux
      OSVersion: Redhat 5.1
      Machine: Other
      FixedDate: '1999-08-06'
      FixedInVersion: 8.2b1
      ClosedDate: '1999-08-06'
      
      
      Name:
      Jean-Luc Fontaine
      
      Extensions:
      BLT 2.4, TkTable 2.3, stooop 3.6.1, scwoop 2.4, tkpiechart 5.2
      
      CustomShell:
      see small patch above.
      
      DesiredBehavior:
      support of empty named array syntax, which would add consistency to the core:
      namespace a {
          variable {}
      }
      set a::(x) 0
      puts $a::(x)  ;# works with current tcl version
      namespace a {
          set (x) 0
          puts $(x) ;# should work as line above
      }
      Furthermore, it would greatly enhance stooop's performance and make it much less verbose.
      
      Patch:
      *** generic/tclCompile.c.orig   Sat Sep  5 11:00:09 1998
      --- generic/tclCompile.c        Sat Sep  5 11:01:55 1998
      ***************
      *** 3151,3157 ****
                        c = *src\;
                    \}
              \}
      !       if (src == name) \{
                  /*
                   * A '\$' by itself, not a name reference. Push a \"\$\" string.
                   */
      --- 3151,3157 ----
                        c = *src\;
                    \}
              \}
      !       if ((src == name) && (*src != '(')) \{
                  /*
                   * A '\$' by itself, not a name reference. Push a \"\$\" string.
                   */
      *** generic/tclParse.c.orig     Sat Sep  5 11:02:52 1998
      --- generic/tclParse.c  Sat Sep  5 !
      11:01:55 1998
      ***************
      *** 813,819 ****
                      string++\;
                  \}
              \}
      !       if (string == name1) \{
                  if (termPtr != 0) \{
                      *termPtr = string\;
                  \}
      --- 813,819 ----
                      string++\;
                  \}
              \}
      !         if ((string == name1) && (*string != '(')) \{
                  if (termPtr != 0) \{
                      *termPtr = string\;
                  \}
      
      PatchFiles:
      generic/tclCompile.c
      generic/tclParse.c
      
      
      
      A patch for Tcl 8.1 is also available: please let me know if you also want it.
      I am also emailing a corresponding test suite file to Brent.
      
      This was introduced in 8.2b1. 
      -- 08/06/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "request for empty name array syntax support"
    11. type initialized to: "Bug"
  2. Ticket change [0434af78c4] (rid 119956) by welch on 2000-10-26 08:24:12:

    1. closedate changed to: "2000-10-26T01:24:12"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [a4dc8d3e90] (rid 110275) by dgp on 2001-04-16 21:04:54:

    1. closedate changed to: "2001-04-16T14:04:54"
    2. closer changed to: "dgp"
    3. subsystem changed to: "45. Parsing and Eval"