Overview
| Artifact ID: | 69fca4fc88ee1c34f919d323bf091b3ae963c970 |
|---|---|
| Ticket: | 218307ffffffffffffffffffffffffffffffffff
Brace/Bracket-levels are counted even in comments |
| User & Date: | nobody on 2000-10-26 00:55:57 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3683 Bug Version: 8.2.2 SubmitDate: '1999-11-24' LastModified: '1999-11-28' Severity: LOW Status: Closed Submitter: techsupp ChangedBy: hobbs OS: AIX FixedDate: '2000-10-25' ClosedDate: '1999-11-28' Name: Adrian Wallaschek CustomShell: none ReproducibleScript: foreach a { 1 2 3 } { # foreach a { a b c } { puts $a } } ObservedBehavior: I whould not expect to be required to enter the second }. Obviously the code behind the # gets parsed! For a commandline a limited parsing is acceptable, for the source command it is probably not, because commenting out code while debugging is a widely used working pattern. Btw. the code is executed funny because it expects to get the second } but then tries to exec it as a command. I suppose Tcl_CommandComplete needs a lesson about comments! DesiredBehavior: Normally the second } should not be necessary and braces/brackets in comments should not be parsed/counted. - foundin changed to: "obsolete: 8.2.2"
- 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: "Brace/Bracket-levels are counted even in comments"
- type changed to: "Bug"