Re: [Lxr-dev] multi-language identifiers
Brought to you by:
ajlittoz
From: Dave B. <da...@br...> - 2004-07-20 18:15:10
|
On Tue, 20 Jul 2004, Malcolm Box wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dave Brondsema wrote: > | The 0.8 release announcement says: > | > | "In multi-language environments, keywords in a language are no longer > | hyperlinked if a different language happens to have them as an identifier" > | > | This doesn't seem to be the case for me. Does anybody remember where or > | how this is supposed to happen? > > I recall coding this - the keywords are now per-language, and the code > in Common.pm switches on the language of the file. Once the file is > fragmented by SimpleParse, each fragment recognised as code is fed to > $lang->processcode where $lang should depend on the type of the file. > > This then strips out reserved words before making links to symbols - see > Generic.pm line 162. > > If this isn't working for you, my guess would be that either the setup > of $lang is hosed, or that processcode is not accurately reading the > languageconf info. > > Cheers, It's still marked as a TODO on processcode :-) -- Dave Brondsema : da...@br... http://www.brondsema.net : personal http://www.splike.com : programming http://csx.calvin.edu : student org |