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

History Of Ticket 217839ffffffffff

Artifacts Associated With Ticket 217839ffffffffff

  1. Ticket change [e0fd36b214] (rid 87368) by nobody on 2000-10-26 00:44:43:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1715 Bug
      Version: 8.0.4
      SubmitDate: '1999-04-05'
      LastModified: '1999-08-07'
      Severity: LOW
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      RelatedBugIDs: 1367 2206
      OS: All
      OSVersion: NA
      Machine: NA
      FixedDate: '2000-10-25'
      FixedInVersion: NA
      ClosedDate: '1999-08-07'
      
      
      Name:  Zachary Wicky
      email:  [email protected]
      Support:  None
      Severity:  4
      OperatingSystem:  Sun Solaris
      Synopsis:  parsing problem 
      
      
      ReproducibleScript:
       
      # ldjflksdalkasdf; puts abc"
      puts "def"; # akjfaj klfasjklj
      set x 88
      if {$x == 1} {
        set x 1
      #} else{
      #  set x 2
      }
      
      
      
      ObservedBehavior:
      if you look at the first two comments, they are ignored, the third
      comment
      with the bad else, is parsed.  Even though once it hits the comment
      line,
      parsing should stop (at least according to the "ldjf" line.  We got hung
      up on this bug due to the way things are set up on our program, the
      errors
      are getting sent into a black hole, so we didn't notice it.  It doesn't
      change the world, but I want to let you know about a 'possible' parsing
      error.  I didn't even pay attention to the line with the comments at the
      start thinking, "Hey, these can't be the source of the problem"
      
      
      This is the expected comment behavior.  Brace matching is done
      before comment recognition, which can cause confusion like this.
      An example showing correctness:
      
       if {1} {set a 5; # set the var}
      
      The bracing must be considered first (in the context of the 'if').
      Only when the if is evaled do we recognize the 2nd command as a comment.  
      -- 08/07/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.4"
    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: "parsing problem"
    11. type initialized to: "Bug"
  2. Ticket change [7193bf4c8e] (rid 100706) by welch on 2000-10-26 07:59:46:

    1. closedate changed to: "2000-10-26T00:59:46"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"
  3. Ticket change [e588d6a681] (rid 104136) by dgp on 2001-04-13 23:17:16:

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