git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14687 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-10-09 11:00:03 +00:00
parent 3dd3a35f7c
commit 03aa2b3917
2 changed files with 10 additions and 0 deletions

View file

@ -1458,6 +1458,15 @@ static NSMutableSet *textNodes = nil;
else
{
s = [self makeLink: r ofType: type isRef: YES];
/**
* As a special case, if we have a reference to a function,
* and we can't find it, we check to see if there is actually
* a macro of that name and refer to that instead.
*/
if (s == nil && [type isEqual: @"function"] == YES)
{
s = [self makeLink: r ofType: @"macro" isRef: YES];
}
}
if (s == nil)
{