Artifacts Associated With Ticket 218307
Ticket change [69fca4fc88] (rid 128067) by nobody on 2000-10-26 00:55:57:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.2.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Brace/Bracket-levels are counted even in comments"
- type initialized to: "Bug"
Ticket change [3ac38c8d48] (rid 112617) by welch on 2000-10-26 08:18:59:
- closedate changed to: "2000-10-26T01:18:59"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [71359cad08] (rid 100631) by dgp on 2001-04-19 04:35:42:
- closedate changed to: "2001-04-18T21:35:42"
- closer changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"