From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13807 invoked by alias); 19 Nov 2001 19:26:22 -0000 Mailing-List: contact insight-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 13772 invoked from network); 19 Nov 2001 19:26:19 -0000 Date: Tue, 02 Oct 2001 16:09:00 -0000 Subject: Re: regenerating tclIndex Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v475) From: Jim Ingham To: insight@sources.redhat.com Content-Transfer-Encoding: 7bit In-Reply-To: <1006196231.29860.ezmlm@sources.redhat.com> Message-Id: <4E1EC54E-DD23-11D5-A069-000393540DDC@apple.com> X-Mailer: Apple Mail (2.475) X-SW-Source: 2001-q4/txt/msg00028.txt.bz2 I am pretty sure that you have to use Itcl to generate tclIndex files for code that contains Itcl classes, or the classes & methods will not get included in the index. If you look, Itcl adds its own recognizer to the mkIndex parser namespace to look for these things. I doubt this exists in straight Tcl. The indexes might still work if you happen to hit straight tcl commands that bring all the code you care about in, but it is not a good bet that it will. I also have some vague memory that there was a bug in the stock Itcl index generation code that I fixed in our version, but never got merged back to the Itcl source base? This may be brain-noise, however. Jim On Monday, November 19, 2001, at 10:57 AM, insight-digest- help@sources.redhat.com wrote: > Doh. My bad? Didn't we decide that we would just require developers to > have tclsh8.3? > > -- Jim Ingham jingham@apple.com Developer Tools - gdb Apple Computer From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Ingham To: insight@sources.redhat.com Subject: Re: regenerating tclIndex Date: Mon, 19 Nov 2001 11:26:00 -0000 Message-ID: <4E1EC54E-DD23-11D5-A069-000393540DDC@apple.com> References: <1006196231.29860.ezmlm@sources.redhat.com> X-SW-Source: 2001-q4/msg00329.html Message-ID: <20011119112600.8ZGFam1T9csy5vhVPACMBBXc5P5YoA_3-JOfq-pY0ZY@z> I am pretty sure that you have to use Itcl to generate tclIndex files for code that contains Itcl classes, or the classes & methods will not get included in the index. If you look, Itcl adds its own recognizer to the mkIndex parser namespace to look for these things. I doubt this exists in straight Tcl. The indexes might still work if you happen to hit straight tcl commands that bring all the code you care about in, but it is not a good bet that it will. I also have some vague memory that there was a bug in the stock Itcl index generation code that I fixed in our version, but never got merged back to the Itcl source base? This may be brain-noise, however. Jim On Monday, November 19, 2001, at 10:57 AM, insight-digest- help@sources.redhat.com wrote: > Doh. My bad? Didn't we decide that we would just require developers to > have tclsh8.3? > > -- Jim Ingham jingham@apple.com Developer Tools - gdb Apple Computer