Overview
| Artifact ID: | 5c28ace41b1effb938c2b3ed4037849436be11b1 |
|---|---|
| Ticket: | 218284ffffffffffffffffffffffffffffffffff
When compiling proc's, the Tcl compiler detects code that ha |
| User & Date: | nobody on 2000-10-26 00:55:33 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3440 Bug Version: 8.1 SubmitDate: '1999-11-05' LastModified: '1999-11-08' Severity: LOW Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Other OSVersion: Solaris 5.6, HP-UX 10.x, IRIX 6.x, Windows NT FixedDate: '2000-10-25' ClosedDate: '1999-11-08' Name: Gerald V Jackson ReproducibleScript: proc test {} { #The next line will cause pre-compiling to fail #if {1 > 2} { #the next line will be ok #if {1 > 2} {} if {1 >= 2} { puts "the laws of math & science have changed!" } } #the next line will be ok #if {if 1 < 2} { puts "about to run the test proc" test exit ObservedBehavior: missing close-brace while compiling "proc test {} {..." (file xyz line 3) DesiredBehavior: The compiler should skip everything after the # until the next non-escaped line. The current behavior makes it difficult to quickly comment out errant code or incomplete code statements. Otherwise, I love it! This is due to unbalanced braces in the comments (discussed at length on the newsgroup). This will be improved with a better error message in 8.3. -- 11/08/1999 hobbs - foundin changed to: "obsolete: 8.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to:
When compiling proc's, the Tcl compiler detects code that ha
- type changed to: "Bug"