summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-07-06 16:35:39 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-07-06 16:35:39 +0200
commit23e870e266b3b4838b98e18db516501c9dbef695 (patch)
tree6bb9614a20312303f8e7639e83a2fbf22e012f99
parent2dbc9e8eb087972b8b18a186a20a28bc0cfc8a9b (diff)
Fix SHADOW.
-rw-r--r--MLKPackage.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/MLKPackage.m b/MLKPackage.m
index eace2a7..fb5ab20 100644
--- a/MLKPackage.m
+++ b/MLKPackage.m
@@ -329,9 +329,11 @@ static NSMutableDictionary *packages = nil;
MLKSymbol *symbol;
symbol = [_accessible_symbols objectForKey:symbolName];
- if (!symbol)
+ if (!symbol || ![_present_symbols containsObject:symbol])
{
symbol = [MLKSymbol symbolWithName:symbolName package:self];
+ [_accessible_symbols setObject:symbol forKey:symbolName];
+ [_present_symbols addObject:symbol];
}
[_shadowing_symbols addObject:symbol];
}