Re: [Lxr-dev] multi-language identifiers
Brought to you by:
ajlittoz
From: Dave B. <da...@br...> - 2004-07-21 14:07:13
|
On Wed, 21 Jul 2004, Malcolm Box wrote: > Dave Brondsema wrote: > | On Tue, 20 Jul 2004, Malcolm Box wrote: > |>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 :-) > > I think that's a misleading comment :-) The code does a !grep(/^$2$/, > $self->langinfo('reserved')) which should filter out any reserved words > as specified in the language info block. > > So there is a bug in the comment :-) > Yes, reserved words are correctly limited to the current language. But identifiers are not. -- Dave Brondsema : da...@br... http://www.brondsema.net : personal http://www.splike.com : programming http://csx.calvin.edu : student org |