mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12001 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
53f2bdea0e
commit
6e22e4db8b
3 changed files with 63 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-01-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Tools/autogsdoc.m: Minor bugfix ... any .h file processed should
|
||||||
|
also be processed as a .gsdoc file to produce indexes and html.
|
||||||
|
|
||||||
2002-01-05 Richard Frith-Macdonald <rfm@gnu.org>
|
2002-01-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Tools/autogsdoc.m: Simplify by removing SourceDirectory default.
|
* Tools/autogsdoc.m: Simplify by removing SourceDirectory default.
|
||||||
|
|
|
@ -481,6 +481,59 @@ fail:
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
- (NSString*) parseType
|
||||||
|
{
|
||||||
|
NSMutableString *m;
|
||||||
|
NSString *s;
|
||||||
|
BOOL hadName = NO;
|
||||||
|
|
||||||
|
s = [self parseIdentifier];
|
||||||
|
if (s == nil)
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
m = [NSMutableString string];
|
||||||
|
[m appendString: s];
|
||||||
|
if ([qualifiers member: s] == nil)
|
||||||
|
{
|
||||||
|
hadName = YES;
|
||||||
|
}
|
||||||
|
[self skipWhiteSpace];
|
||||||
|
while (pos < length)
|
||||||
|
{
|
||||||
|
unsigned saved;
|
||||||
|
BOOL hadStar = NO;
|
||||||
|
|
||||||
|
while (pos < length && buffer[pos] == '*')
|
||||||
|
{
|
||||||
|
if (hadStar == NO)
|
||||||
|
{
|
||||||
|
[m appendString: @" "];
|
||||||
|
hadStar = YES;
|
||||||
|
}
|
||||||
|
[m appendString: @"*"];
|
||||||
|
pos++;
|
||||||
|
[self skipWhiteSpace];
|
||||||
|
}
|
||||||
|
saved = pos;
|
||||||
|
s = [self parseIdentifier];
|
||||||
|
if ([qualifiers member: s] == nil)
|
||||||
|
{
|
||||||
|
if (hadName == YES)
|
||||||
|
{
|
||||||
|
pos = saved;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
hadName = YES;
|
||||||
|
}
|
||||||
|
[m appendString: @" "];
|
||||||
|
[m appendString: s];
|
||||||
|
}
|
||||||
|
return m;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
- (NSString*) parseIdentifier
|
- (NSString*) parseIdentifier
|
||||||
{
|
{
|
||||||
unsigned start;
|
unsigned start;
|
||||||
|
|
|
@ -632,15 +632,12 @@ main(int argc, char **argv, char **env)
|
||||||
{
|
{
|
||||||
NSLog(@"Sorry unable to write %@", gsdocfile);
|
NSLog(@"Sorry unable to write %@", gsdocfile);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* Add the newly created gsdoc file to the list of
|
|
||||||
* those to process.
|
|
||||||
*/
|
|
||||||
[gFiles addObject: [gsdocfile lastPathComponent]];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
* Add the gsdoc file corresponding to the .h file to the list of
|
||||||
|
* those to process.
|
||||||
|
*/
|
||||||
|
[gFiles addObject: [gsdocfile lastPathComponent]];
|
||||||
}
|
}
|
||||||
DESTROY(pool);
|
DESTROY(pool);
|
||||||
DESTROY(parser);
|
DESTROY(parser);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue