mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Acually commit the file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20810 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3575c49a3f
commit
dd81e39b1d
1 changed files with 19 additions and 3 deletions
|
@ -2002,9 +2002,25 @@ OAppend(id obj, NSDictionary *loc, unsigned lev, unsigned step,
|
|||
}
|
||||
else
|
||||
{
|
||||
NSDebugLog(@"Non-property-list class (%@) encoded as string",
|
||||
NSStringFromClass([obj class]));
|
||||
PString([obj description], dest);
|
||||
NSString *desc;
|
||||
volatile id plobj = nil;
|
||||
|
||||
desc = [obj description];
|
||||
NS_DURING
|
||||
{
|
||||
plobj = [desc propertyList];
|
||||
NSDebugLog(@"Non-property-list class (%@) "
|
||||
@"encoded as description's property-list",
|
||||
NSStringFromClass([obj class]));
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
plobj = desc;
|
||||
NSDebugLog(@"Non-property-list class (%@) encoded as string",
|
||||
NSStringFromClass([obj class]));
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
OAppend(plobj, loc, lev, step, x, dest);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue