Overview
| Artifact ID: | 32f03834ba8855d441ad45c3866c4d1603921259 |
|---|---|
| Ticket: | 2102614fffffffffffffffffffffffffffffffff
auto_mkindex don't detect ensembles |
| User & Date: | bgriffin on 2013-01-04 04:29:15 |
Changes
- icomment:
The proposed patch does not work for me. This patch does work for me: $ p4 diff -dc auto.tcl ==== //dvt/mti/prod/src/tcltk/8.5.8/tcl/tcl/library/auto.tcl#1 - /home/bgriffin/dev/devm2_backup/prod/src/tcltk/8.5.8/tcl/tcl/library/auto.tcl ==== *************** *** 604,609 **** --- 604,618 ---- } catch {$parser eval "_%@namespace import $args"} } + ensemble { + variable parser + variable contextStack + if {[lindex $args 0] eq "create"} { + set name ::[join [lreverse $contextStack] ::] + # create artifical proc to force a command entry in the tclIndex + $parser eval [list proc $name {} {}] + } + } } } - login: "bgriffin"
- mimetype: "text/plain"
- username: "bgriffin"