mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15163 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d3da613a53
commit
bb19b604d0
4 changed files with 22 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
|||
2002-11-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/AGSParser.m: Fix so we document static declarations made in
|
||||
headers and only ignore them in implementation.
|
||||
* Tools/AGSOutput.m: Bugfix to output ivar type information.
|
||||
* Tools/AGSHtml.m: Reduce space around examples.
|
||||
Bugs reported by Chris B. Vetter
|
||||
|
||||
2002-11-27 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
|
||||
* Source/Additions/GSObjCRuntime.m: fixed type call typo
|
||||
|
|
|
@ -1805,9 +1805,11 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
|
|||
}
|
||||
else if ([n isEqual: @"example"] == YES)
|
||||
{
|
||||
[buf appendString: @"<pre>\n"];
|
||||
[self outputText: [node firstChild] to: buf];
|
||||
[buf appendString: @"\n</pre>\n"];
|
||||
GSXMLNode *c = [node firstChild];
|
||||
|
||||
[buf appendString: @"<pre>"];
|
||||
[self outputText: c to: buf];
|
||||
[buf appendString: @"</pre>\n"];
|
||||
return [node next];
|
||||
}
|
||||
else if ([n isEqual: @"embed"] == YES)
|
||||
|
|
|
@ -869,7 +869,8 @@ static BOOL snuggleStart(NSString *t)
|
|||
to: (NSMutableString*)str
|
||||
for: (NSString*)unit
|
||||
{
|
||||
NSString *type = [d objectForKey: @"Type"];
|
||||
NSString *pref = [d objectForKey: @"Prefix"];
|
||||
NSString *type = [d objectForKey: @"BaseType"];
|
||||
NSString *validity = [d objectForKey: @"Validity"];
|
||||
NSString *name = [d objectForKey: @"Name"];
|
||||
NSString *comment = [d objectForKey: @"Comment"];
|
||||
|
@ -877,6 +878,10 @@ static BOOL snuggleStart(NSString *t)
|
|||
|
||||
[str appendString: @" <ivariable type=\""];
|
||||
[str appendString: escapeType(type)];
|
||||
if ([pref length] > 0)
|
||||
{
|
||||
[str appendString: pref];
|
||||
}
|
||||
[str appendString: @"\" name=\""];
|
||||
[str appendString: name];
|
||||
if (validity != nil)
|
||||
|
|
|
@ -1006,10 +1006,11 @@
|
|||
a = [NSMutableArray array];
|
||||
while ((s = [self parseIdentifier]) != nil)
|
||||
{
|
||||
if ([s isEqualToString: @"static"] == YES)
|
||||
if (inHeader == NO && [s isEqualToString: @"static"] == YES)
|
||||
{
|
||||
/*
|
||||
* We don't want to document static declarations.
|
||||
* We don't want to document static declarations unless they
|
||||
* occur in a public header.
|
||||
*/
|
||||
[self skipStatementLine];
|
||||
goto fail;
|
||||
|
|
Loading…
Reference in a new issue