Support global indexing.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11999 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-01-05 10:11:34 +00:00
parent 4cddb93f93
commit c313620c75
2 changed files with 11 additions and 4 deletions

View file

@ -758,7 +758,11 @@ static NSMutableSet *textNodes = nil;
NSString *type = [prop objectForKey: @"type"];
NSDictionary *dict = [localRefs refs];
if (projectRefs != nil && [scope isEqual: @"project"] == YES)
if (globalRefs != nil && [scope isEqual: @"global"] == YES)
{
dict = [globalRefs refs];
}
else if (projectRefs != nil && [scope isEqual: @"project"] == YES)
{
dict = [projectRefs refs];
}