Bugfix for NSObject superclass reference.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15474 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-01-03 15:21:15 +00:00
parent fad5fdf559
commit 89c0d389fd
2 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m: Don't try to make a type reference to the
superclass of NSObject.
2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPage.m: Document all functions.

View file

@ -532,11 +532,14 @@ static NSMutableSet *textNodes = nil;
[buf appendString: @"<h2>"];
[buf appendString:
[self makeAnchor: classname ofType: @"class" name: classname]];
sup = [self typeRef: sup];
if (sup != nil)
{
[buf appendString: @" : "];
[buf appendString: sup];
sup = [self typeRef: sup];
if (sup != nil)
{
[buf appendString: @" : "];
[buf appendString: sup];
}
}
[buf appendString: @"</h2>\n"];
[self outputUnit: node to: buf];
@ -2178,6 +2181,10 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
NSRange er;
NSRange sr;
if (end == 0)
{
return nil;
}
t = str;
while (end > 0)
{