mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14838 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d482e457e2
commit
23a60ca711
2 changed files with 22 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/AGSParser.m: Avoid duplication of method comments when
|
||||
parsing the same file as both header and source.
|
||||
|
||||
2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/AGSOutput.m: ([-split:]) In links generated from class and
|
||||
|
|
|
@ -2484,8 +2484,10 @@ fail:
|
|||
}
|
||||
else if ((exist = [methods objectForKey: token]) != nil)
|
||||
{
|
||||
NSArray *a0;
|
||||
NSArray *a1;
|
||||
NSArray *a0;
|
||||
NSArray *a1;
|
||||
NSString *c0;
|
||||
NSString *c1;
|
||||
|
||||
/*
|
||||
* Merge info from implementation into existing version.
|
||||
|
@ -2519,8 +2521,19 @@ fail:
|
|||
}
|
||||
}
|
||||
|
||||
[self appendComment: [method objectForKey: @"Comment"]
|
||||
to: exist];
|
||||
/*
|
||||
* If the old comment from the header parsing is
|
||||
* the same as the new comment from the source
|
||||
* parsing, assume we parsed the same file as both
|
||||
* source and header ... otherwise append the new
|
||||
* comment.
|
||||
*/
|
||||
c0 = [exist objectForKey: @"Comment"];
|
||||
c1 = [method objectForKey: @"Comment"];
|
||||
if ([c0 isEqual: c1] == NO)
|
||||
{
|
||||
[self appendComment: c1 to: exist];
|
||||
}
|
||||
[exist setObject: @"YES" forKey: @"Implemented"];
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue