Skip to content
Tcl Source Code History Of Ticket 0c86d397be
Login

History Of Ticket 0c86d397be

Artifacts Associated With Ticket 0c86d397be

  1. Ticket change [e58c5d6e25] (rid 133199) by anonymous on 2013-08-06 09:30:50:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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
      
    5. foundin initialized to: "8.6.0"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "55805032f00760ddf84eb3f8acb077da7bef1411"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "16. Commands A-H"
    15. title initialized to:
      auto_mkindex fails on "if" statements outside any procedure
      
    16. type initialized to: "Bug"
  2. Ticket change [0424da1b7a] (rid 133200) by anonymous on 2013-08-06 09:49:08:

    1. 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
      
    2. login: "anonymous"
    3. mimetype: "text/plain"
  3. Ticket change [a1d59922f9] (rid 133201) by anonymous on 2013-08-06 09:50:06:

    1. 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
      
    2. login: "anonymous"
    3. mimetype: "text/plain"
    4. title changed to:
      auto_mkindex fails on "if-else" statements outside any procedure
      
  4. Ticket change [bbb8bba357] (rid 133202) by dgp on 2013-08-06 12:17:56:

    1. assignee changed to: "dgp"
    2. 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?
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. resolution changed to: "Works For Me"
  5. Ticket change [4b26ac6500] (rid 133245) by tombert on 2013-08-09 08:01:01:

    1. closedate changed to: "2456513.8340441"
    2. closer changed to: "tombert"
    3. icomment:
      Thx for this tip - the bug was on my side.
      Regards
      
    4. login: "tombert"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"