Artifacts Associated With Ticket 0c86d397be
Ticket change [e58c5d6e25] (rid 133199) by anonymous on 2013-08-06 09:30:50:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Win7, mingw, Tcl 8.6 head; The call to: auto_mkindex d:/ mkindex-test.tcl fails if there are if-statements outside any procedure or method. Reproduce: Create a file which content is only: if {$something == 1} {puts yes} else {puts no} results in an error: wrong # args: should be "if name body" invoked from within "if { something == 1} {puts yes} else {puts no}" invoked from within "$parser eval $contents" (procedure "auto_mkindex_parser::mkindex" line 27) invoked from within "auto_mkindex_parser::mkindex $file" (procedure "auto_mkindex" line 23) invoked from within "auto_mkindex d:/ mkindex-test.tcl" Note: there seems to be strange character before the "something" variable where the "$" sign should be. thx - foundin initialized to: "8.6.0"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "55805032f00760ddf84eb3f8acb077da7bef1411"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "16. Commands A-H"
- title initialized to:
auto_mkindex fails on "if" statements outside any procedure
- type initialized to: "Bug"
Ticket change [0424da1b7a] (rid 133200) by anonymous on 2013-08-06 09:49:08:
- comment changed to:
Win7, mingw, Tcl 8.6 head; The call to: auto_mkindex d:/ mkindex-test.tcl fails if there are if-statements outside any procedure or method. Reproduce: Create a file which content is only: if {$something == 1} {puts yes} else {puts no} results in an error: wrong # args: should be "if name body" invoked from within "if { something == 1} {puts yes} else {puts no}" invoked from within "$parser eval $contents" (procedure "auto_mkindex_parser::mkindex" line 27) invoked from within "auto_mkindex_parser::mkindex $file" (procedure "auto_mkindex" line 23) invoked from within "auto_mkindex d:/ mkindex-test.tcl" Note: When removing the "else" part then it works. thx - login: "anonymous"
- mimetype: "text/plain"
- comment changed to:
Ticket change [a1d59922f9] (rid 133201) by anonymous on 2013-08-06 09:50:06:
- comment changed to:
Win7, mingw, Tcl 8.6 head; The call to: auto_mkindex d:/ mkindex-test.tcl fails if there is a if-else statement outside any procedure or method. Reproduce: Create a file which content is only: if {$something == 1} {puts yes} else {puts no} results in an error: wrong # args: should be "if name body" invoked from within "if { something == 1} {puts yes} else {puts no}" invoked from within "$parser eval $contents" (procedure "auto_mkindex_parser::mkindex" line 27) invoked from within "auto_mkindex_parser::mkindex $file" (procedure "auto_mkindex" line 23) invoked from within "auto_mkindex d:/ mkindex-test.tcl" Note: When removing the "else" part then it works. thx - login: "anonymous"
- mimetype: "text/plain"
- title changed to:
auto_mkindex fails on "if-else" statements outside any procedure
- comment changed to:
Ticket change [bbb8bba357] (rid 133202) by dgp on 2013-08-06 12:17:56:
- assignee changed to: "dgp"
- icomment:
I cannot reproduce this. See if you can track down where the [::if] command has been redefined and to what. It sure looks like something has replaced [::if] with an incomplete replacement. I notice that the "$" before something has disappeared in the -errorinfo. Any idea what happened there?
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
Ticket change [4b26ac6500] (rid 133245) by tombert on 2013-08-09 08:01:01:
- closedate changed to: "2456513.8340441"
- closer changed to: "tombert"
- icomment:
Thx for this tip - the bug was on my side. Regards
- login: "tombert"
- mimetype: "text/plain"
- status changed to: "Closed"