Permalink
Browse files

bug fix

  • Loading branch information...
nst committed Sep 26, 2012
1 parent 5f2c6fa commit 224a98a1bb5a5a084ee402c220dc792cb47f357c
Showing with 2 additions and 1 deletion.
  1. +2 −1 model/ClassDisplay.m
View
@@ -395,7 +395,7 @@ - (NSMutableString *)_parseUnnamedStructOrUnionVarEndCh:(char)endCh depth:(int *
- (NSDictionary *)typeEncParseStructOrUnionWithEncType:(NSString *)encType endCh:(char)endCh depth:(int *)depth sPart:(int)sPart inLine:(BOOL)inLine inParam:(BOOL)inParam spaceAfter:(BOOL)spaceAfter {
//ivT = "?=i[3f]b128i3b131i2c}"; // http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_7.html#SEC130
- NSString *typeS = nil;
+ NSString *typeS = @"";
NSString *modifierS = @"";
char *eqPos = strchr(ivT, '=');
char *innerSPos = strchr(ivT, '{');
@@ -435,6 +435,7 @@ - (NSDictionary *)typeEncParseStructOrUnionWithEncType:(NSString *)encType endCh
ivT = tmp;
}
}
+
typeS = [encType stringByAppendingString:typeS];
--(*depth);

0 comments on commit 224a98a

Please sign in to comment.