From a727b0bd4661c20e2a6caa498ea42e63050dee70 Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Wed, 13 Mar 2013 06:14:24 +0000 Subject: [PATCH] fix bug whe comment extends over end of line git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36353 72102866-910b-0410-8b05-ffd578937521 --- Tools/make_strings/StringsFile.m | 275 ++++++++++++++++--------------- 1 file changed, 144 insertions(+), 131 deletions(-) diff --git a/Tools/make_strings/StringsFile.m b/Tools/make_strings/StringsFile.m index 093cd73c5..7cd4ed467 100644 --- a/Tools/make_strings/StringsFile.m +++ b/Tools/make_strings/StringsFile.m @@ -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. @@ -35,35 +35,35 @@ static NSString *parse_string(NSString **ptr) { - NSString *str=*ptr; + NSString *str = *ptr; NSString *ret; int i,c; unichar ch; - c=[str length]; - for (i=0;i