Author: gcasa
Date: Sun May  8 06:37:57 2016
New Revision: 39732

URL: http://svn.gna.org/viewcvs/gnustep?rev=39732&view=rev
Log:
Fix issue with class generation.

Modified:
    libs/xcode/trunk/ChangeLog
    libs/xcode/trunk/Tools/pcpg/PLCPG.m

Modified: libs/xcode/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/xcode/trunk/ChangeLog?rev=39732&r1=39731&r2=39732&view=diff
==============================================================================
--- libs/xcode/trunk/ChangeLog  (original)
+++ libs/xcode/trunk/ChangeLog  Sun May  8 06:37:57 2016
@@ -1,3 +1,7 @@
+2016-05-08 00:37-EDT Gregory John Casamento <[email protected]>
+
+       * Tools/pcpg/PLCPG.m: Fix issue with include/import of non-NS classes.
+
 2016-04-26 20:48-EDT Gregory John Casamento <[email protected]>
 
        * PBXFrameworksBuildPhase.m: Fix tool compilation.

Modified: libs/xcode/trunk/Tools/pcpg/PLCPG.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/xcode/trunk/Tools/pcpg/PLCPG.m?rev=39732&r1=39731&r2=39732&view=diff
==============================================================================
--- libs/xcode/trunk/Tools/pcpg/PLCPG.m (original)
+++ libs/xcode/trunk/Tools/pcpg/PLCPG.m Sun May  8 06:37:57 2016
@@ -152,7 +152,7 @@
         ![type isEqualToString: @"NSDictionary"] &&
         ![type isEqualToString: @"NSMutableDictionary"])
        {
-         includeString = [includeString stringByAppendingString: [NSString 
stringWithFormat: @"#import \"%@.h\"\n"]];
+         includeString = [includeString stringByAppendingString: [NSString 
stringWithFormat: @"#import \"%@.h\"\n", type]];
        }
 
       methodString = [methodString stringByAppendingString: [NSString 
stringWithFormat: @"- (%@ *) %@; // getter\n",type,ivarName]];


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to