Skip to content
Tcl Source Code History Of Ticket 218868ffffffffff
Login

History Of Ticket 218868ffffffffff

Artifacts Associated With Ticket 218868ffffffffff

  1. Ticket change [c134581a61] (rid 111284) by nobody on 2000-10-26 01:06:57:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2467 RFE
      Version: 8.2
      SubmitDate: '1999-07-28'
      LastModified: '1999-12-03'
      Severity: LOW
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: All
      Machine: NA
      FixedDate: '1999-12-03'
      FixedInVersion: 8.3b1
      ClosedDate: '2000-10-25'
      
      
      Name:
      Frederic BONNET
      
      Comments:
      Cameron Laird maintains a page with frequently made mistakes in Tcl at:
          
          http://Starbase.NeoSoft.COM/~claird/comp.lang.tcl/fmm.html
          
          This patch is related to the following FMMs:
          
          http://Starbase.NeoSoft.COM/~claird/comp.lang.tcl/fmm.html#zero
          http://Starbase.NeoSoft.COM/~claird/comp.lang.tcl/fmm.html#comments
      
      DesiredBehavior:
      The following patches add more explicit information when the two most
          frequently made mistakes in Tcl are encountered: comments in switch and
          bad octal values.
          
          When Tcl encounters an error during a switch statement, it checks for
          patterns beginning with #. This proves to be an efficient heuristic to
          detect incorrectly placed comments in switch statements. It then append
          the following string to the error message: 
          
          "this can be due to a comment incorrectly placed outside a switch body -
          see the Tcl and switch man pages"
          
          Everywhere Tcl expects an integer and detects an error, it will also
          check if the string uses an invalid octal representation (ie an integer
          with a leading zero) and append the following message:
          
          "<integer> uses an incorrect octal representation - see the expr man
          page"
      
      Patch:
      http://www.multimania.com/fbonnet/pub/fmm8.0.5.patch (for Tcl8.0.5)
      http://www.multimania.com/fbonnet/pub/fmm8.1.1.patch (for Tcl8.1.1)
      
      PatchFiles:
      generic/tclCmdMZ.c
          generic/tclGet.c
          generic/tclObj.c
          generic/tclExecute.c
          generic/tclUtil.c
          generic/tclInt.h
      
      
      
      8.3 has improved error messages. 
      -- 12/03/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.2"
    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:
      Improvement of error messages for Tcl frequently made mistak
      
    11. type initialized to: "RFE"
  2. Ticket change [30206fc94f] (rid 93196) by welch on 2000-10-26 08:30:15:

    1. closedate changed to: "2000-10-26T01:30:15"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [ece499cc96] (rid 103785) by dgp on 2001-04-19 03:00:46:

    1. status changed to: "Open"
  4. Ticket change [d4e5844d57] (rid 123520) by dgp on 2001-04-19 03:00:47:

    1. foundin changed to: "None"
    2. subsystem changed to: "None"
  5. Ticket change [dd1b91b79f] (rid 114599) by dgp on 2001-04-19 03:01:31:

    1. closedate changed to: "2001-04-18T20:01:31"
    2. closer changed to: "dgp"
    3. status changed to: "Deleted"