mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 10:30:47 +00:00
Move var decl to beggining of block
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19061 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
23a8363ab1
commit
8977deb7e5
1 changed files with 8 additions and 6 deletions
|
@ -636,6 +636,10 @@ main(int argc, char **argv, char **env)
|
||||||
NSAutoreleasePool *outer = nil;
|
NSAutoreleasePool *outer = nil;
|
||||||
NSAutoreleasePool *pool = nil;
|
NSAutoreleasePool *pool = nil;
|
||||||
#endif
|
#endif
|
||||||
|
NSString *arg;
|
||||||
|
NSString *opt;
|
||||||
|
NSSet *argSet;
|
||||||
|
NSArray *argsGiven;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Overall process in this file is as follows:
|
Overall process in this file is as follows:
|
||||||
|
@ -786,10 +790,8 @@ main(int argc, char **argv, char **env)
|
||||||
@"for display in HTML frames",
|
@"for display in HTML frames",
|
||||||
@"MakeFrames",
|
@"MakeFrames",
|
||||||
nil];
|
nil];
|
||||||
NSString *arg;
|
argSet = [NSSet setWithArray: [argsRecognized allKeys]];
|
||||||
NSString *opt;
|
argsGiven = [[NSProcessInfo processInfo] arguments];
|
||||||
NSSet *argSet = [NSSet setWithArray: [argsRecognized allKeys]];
|
|
||||||
NSArray *argsGiven = [[NSProcessInfo processInfo] arguments];
|
|
||||||
|
|
||||||
for (i = 0; i < [argsGiven count]; i++)
|
for (i = 0; i < [argsGiven count]; i++)
|
||||||
{
|
{
|
||||||
|
@ -1849,12 +1851,12 @@ main(int argc, char **argv, char **env)
|
||||||
}
|
}
|
||||||
if (i == [gFiles count])
|
if (i == [gFiles count])
|
||||||
{
|
{
|
||||||
|
NSMutableString *prjFileContents =
|
||||||
|
[NSMutableString stringWithCapacity: cap];
|
||||||
NSLog(@"\n\nNOTE: Generating a simple introductory page for your"
|
NSLog(@"\n\nNOTE: Generating a simple introductory page for your"
|
||||||
@" project.\nTo replace this with a custom version, edit the gsdoc file \n"
|
@" project.\nTo replace this with a custom version, edit the gsdoc file \n"
|
||||||
@"named %@ in the documentation output directory.\n"
|
@"named %@ in the documentation output directory.\n"
|
||||||
@"Then include this file in the arguments to autogsdoc.\n\n", prjFile);
|
@"Then include this file in the arguments to autogsdoc.\n\n", prjFile);
|
||||||
NSMutableString *prjFileContents =
|
|
||||||
[NSMutableString stringWithCapacity: cap];
|
|
||||||
[prjFileContents setString: @"<?xml version=\"1.0\"?>\n"
|
[prjFileContents setString: @"<?xml version=\"1.0\"?>\n"
|
||||||
@"<!DOCTYPE gsdoc PUBLIC \"-//GNUstep//DTD gsdoc 1.0.1//EN\" \"http://www.gnustep.org/gsdoc-1_0_1.xml\">\n"
|
@"<!DOCTYPE gsdoc PUBLIC \"-//GNUstep//DTD gsdoc 1.0.1//EN\" \"http://www.gnustep.org/gsdoc-1_0_1.xml\">\n"
|
||||||
@"<gsdoc base=\"[prjName]\">\n"
|
@"<gsdoc base=\"[prjName]\">\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue