mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
indexing fix for category methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31588 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
af9a29b68e
commit
4e03372c34
2 changed files with 6 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-11-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Tools/AGSIndex.m: ([-setUnitRef:type:]) Fix incorrect special
|
||||||
|
handling of category methods.
|
||||||
|
|
||||||
2010-11-02 Larry Campbell <lcampbel@akamai.com>
|
2010-11-02 Larry Campbell <lcampbel@akamai.com>
|
||||||
|
|
||||||
* Tools/make_strings/make_strings.m: Fix line missed in last patch.
|
* Tools/make_strings/make_strings.m: Fix line missed in last patch.
|
||||||
|
|
|
@ -631,10 +631,6 @@ setDirectory(NSMutableDictionary *dict, NSString *path)
|
||||||
|
|
||||||
if ([type isEqualToString: @"method"] || [type isEqualToString: @"ivariable"])
|
if ([type isEqualToString: @"method"] || [type isEqualToString: @"ivariable"])
|
||||||
{
|
{
|
||||||
if (category != nil)
|
|
||||||
{
|
|
||||||
u = classname; // Store category methods by classname.
|
|
||||||
}
|
|
||||||
// type ... ref ... unit ... file
|
// type ... ref ... unit ... file
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -766,7 +762,7 @@ setDirectory(NSMutableDictionary *dict, NSString *path)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If unit is a category, method was probably indexed under the class,
|
* If unit is a category, method was probably indexed under the class,
|
||||||
* so wirk with the class instead of the category.
|
* so work with the class instead of the category.
|
||||||
*/
|
*/
|
||||||
if ([*u length] > 0 && [*u characterAtIndex: [*u length] - 1] == ')')
|
if ([*u length] > 0 && [*u characterAtIndex: [*u length] - 1] == ')')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue