remove bogus space after semicolon

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37275 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-10-25 16:03:46 +00:00
parent b48feeaa34
commit 0d00b3947a
2 changed files with 13 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2013-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/make_strings/StringsFile.m:
Fix bogus space after semicolon.
2013-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:

View file

@ -7,13 +7,13 @@
This file is part of the GNUstep Project
This program is free software; you can redistribute it and/or
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either
as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public
License along with this program; see the file COPYINGv3.
License along with this program; see the file COPYINGv3.
If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
@ -186,7 +186,7 @@ static NSString *parse_string(NSString **ptr)
{
fprintf(stderr,"parse error in '%s', missing '*\'\n",
[filename cString]);
pos = [l length];
pos = [l length];
}
if ([user_comment length])
[user_comment appendString: @"\n"];
@ -222,12 +222,12 @@ static NSString *parse_string(NSString **ptr)
exit(1);
}
l = [l substringFromIndex: pos+1];
trans = parse_string( & l);
trans = parse_string(&l);
pos = [l rangeOfString: @"; "].location;
pos = [l rangeOfString: @";"].location;
if (pos == NSNotFound)
{
fprintf(stderr,"parse error in '%s', expecting '; '\n",
fprintf(stderr,"parse error in '%s', expecting ';'\n",
[filename cString]);
exit(1);
}
@ -324,7 +324,7 @@ static NSString *parse_string(NSString **ptr)
[str appendString: @"\"\n = \""];
[str appendString: [se translated]];
[str appendString: @"\"; \n"];
[str appendString: @"\";\n"];
}