Overview
| Artifact ID: | c45c38fd5394e006be90ce2ac52a823c3b825194 |
|---|---|
| Ticket: | 218665ffffffffffffffffffffffffffffffffff
auto_mkindex does not work with slavehook |
| User & Date: | nobody on 2000-10-26 01:03:52 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1657 Bug Version: 8.0.5 SubmitDate: '1999-03-29' LastModified: '1999-04-22' Severity: MED Status: Released Submitter: pat ChangedBy: pat RelatedBugIDs: 1549 OS: Other Machine: NA FixedDate: '1999-04-02' ClosedDate: '1999-04-01' Name: Jens Ehlers CustomShell: none ReproducibleScript: package require Itcl namespace import itcl::* auto_mkindex_parser::slavehook { _%@namespace import -force itcl::* } auto_mkindex . *.tcl ObservedBehavior: Error stack: invalid command name "$parser" while executing "{$parser} eval { _%@namespace import -force itcl::* }" ("eval" body line 1) invoked from within "eval $cmd" (procedure "auto_mkindex_parser::init" line 28) invoked from within "auto_mkindex_parser::init" (procedure "auto_mkindex" line 19) invoked from within "auto_mkindex . *.tcl " DesiredBehavior: The generation of an tclIndex file which includes classes and methods. This worked fine with the prowish80 delivered with the evaluation release 1.2b1. Now we registerd the product and got TclPro 1.2 with an prowish80 with the above mentioned error. The problem is the same on Sun and on NT prowish80 from TclPro1.2b1 works fine prowish80 from TclPro1.2.0 does not work Date: Mon, 29 Mar 1999 14:03:24 +0200 From: Jens Ehlers <[email protected]> To: [email protected] Subject: Re: [Bug Tcl 8.0.5] auto_mkindex does not work with slavehook Content-transfer-encoding: 7bit Hi all, in the meantime I fixed the bug by comparing and modifying the lib/tcl8.0/init.tcl of the both versions. Here are the changes: diff init.tcl init.tcl_original 910,911c910,911 < < lappend initCommands "\$parser eval [list $cmd]" --- > > lappend initCommands [list \$parser eval $cmd] 962c962 < $parser invokehidden proc $name {args} "_%@eval $alias \$args" --- > $parser invokehidden proc $name {args} [list _%@eval $alias \$args] Regards Jens Fixed quoting problems and added test suite to exercise the slaveHook that is normally only used by Incr Tcl. - foundin changed to: "final: 8.0.5"
- 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: "auto_mkindex does not work with slavehook"
- type changed to: "Bug"