From fe17b2af3e1eb3752b659278f5d05c5d7fce142a Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 29 Mar 2004 16:34:09 +0000 Subject: [PATCH] Fixed syntax of concatenated ObjC string constants so that it compiles again on GCC 3.2 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18959 72102866-910b-0410-8b05-ffd578937521 --- Tools/autogsdoc.m | 88 +++++++++++++++++++++++------------------------ 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/Tools/autogsdoc.m b/Tools/autogsdoc.m index 80101c753..f7dcf8688 100644 --- a/Tools/autogsdoc.m +++ b/Tools/autogsdoc.m @@ -1701,18 +1701,18 @@ main(int argc, char **argv, char **env) // skeleton for table of contents files [tocSkel setString: @"\n" -"\n" -"\n" -" \n" -" [typeU]\n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -"\n"]; +@"\n" +@"\n" +@" \n" +@" [typeU]\n" +@" \n" +@" \n" +@" \n" +@" \n" +@" \n" +@" \n" +@"\n"]; [tocSkel replaceOccurrencesOfString: @"[prjName]" withString: project options: 0 range: NSMakeRange(0, [tocSkel length])]; @@ -1720,26 +1720,26 @@ main(int argc, char **argv, char **env) // file for top-left frame (header only; rest appended below) idxIndexFile = [@"MainIndex" stringByAppendingPathExtension: @"html"]; [idxIndex setString: @"\n \n" -" Index

\n" -" "]; +@" Index

\n" +@" "]; // this becomes index.html framesetFile = [@"index" stringByAppendingPathExtension: @"html"]; [frameset setString: @"\n" -"\n" -" \n" -" \n" -" Autogsdoc-generated Documentation for [prjName]\n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -"\n"]; +@"\n" +@" \n" +@" \n" +@" Autogsdoc-generated Documentation for [prjName]\n" +@" \n" +@" \n" +@" \n" +@" \n" +@" \n" +@" \n" +@" \n" +@" \n" +@" \n" +@"\n"]; [frameset replaceOccurrencesOfString: @"[prjName]" withString: project options: 0 range: NSMakeRange(0, [frameset length])]; @@ -1809,25 +1809,25 @@ main(int argc, char **argv, char **env) if (i == [gFiles count]) { NSLog(@"\n\nNOTE: Generating a simple introductory page for your" -" project.\nTo replace this with a custom version, edit the gsdoc file \n" -"named %@ in the documentation output directory.\n" -"Then include this file in the arguments to autogsdoc.\n\n", prjFile); +@" project.\nTo replace this with a custom version, edit the gsdoc file \n" +@"named %@ in the documentation output directory.\n" +@"Then include this file in the arguments to autogsdoc.\n\n", prjFile); NSMutableString *prjFileContents = [NSMutableString stringWithCapacity: cap]; [prjFileContents setString: @"\n" -"\n" -"\n" -" \n" -" The [prjName] Project\n" -" \n" -" \n" -" \n" -"

The index below lists the major components of the [prjName] \n" -" documentation.

\n" -" \n" -"
\n" -" \n" -"
\n"]; +@"\n" +@"\n" +@" \n" +@" The [prjName] Project\n" +@" \n" +@" \n" +@" \n" +@"

The index below lists the major components of the [prjName] \n" +@" documentation.

\n" +@" \n" +@"
\n" +@" \n" +@"
\n"]; [prjFileContents replaceOccurrencesOfString: @"[prjName]" withString: project options: 0