From 4e03372c3436dd5a2e781e895f2fade185c44220 Mon Sep 17 00:00:00 2001 From: rfm Date: Fri, 5 Nov 2010 10:01:34 +0000 Subject: [PATCH] indexing fix for category methods git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31588 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Tools/AGSIndex.m | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 24a149401..06c36187a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-05 Richard Frith-Macdonald + + * Tools/AGSIndex.m: ([-setUnitRef:type:]) Fix incorrect special + handling of category methods. + 2010-11-02 Larry Campbell * Tools/make_strings/make_strings.m: Fix line missed in last patch. diff --git a/Tools/AGSIndex.m b/Tools/AGSIndex.m index 767755a65..25b9f2571 100644 --- a/Tools/AGSIndex.m +++ b/Tools/AGSIndex.m @@ -631,10 +631,6 @@ setDirectory(NSMutableDictionary *dict, NSString *path) if ([type isEqualToString: @"method"] || [type isEqualToString: @"ivariable"]) { - if (category != nil) - { - u = classname; // Store category methods by classname. - } // type ... ref ... unit ... file } else @@ -766,7 +762,7 @@ setDirectory(NSMutableDictionary *dict, NSString *path) /* * 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] == ')') {