Re: [Lxr-dev] multi-language identifiers
Brought to you by:
ajlittoz
From: Malcolm B. <mb...@us...> - 2004-07-20 00:49:27
|
-----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, Malcolm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with MultiZilla - http://enigmail.mozdev.org iD8DBQFA/GxlQeMefPKyX/QRApFbAKDcq06wchQapfoBo6tHE3GMM0qxXwCgwEXT W35JiA0dIP2MdNvuRlqLD10= =NsQN -----END PGP SIGNATURE----- |