ObjFW  Diff

Differences From Artifact [d7fbc3fc45]:

To Artifact [388479cf87]:


23
24
25
26
27
28
29





30
31
32
33
34
35
36
@implementation OFMalformedXMLException
@synthesize parser = _parser;

+ (instancetype)exceptionWithParser: (OFXMLParser *)parser
{
	return [[[self alloc] initWithParser: parser] autorelease];
}






- initWithParser: (OFXMLParser *)parser
{
	self = [super init];

	_parser = [parser retain];








>
>
>
>
>







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@implementation OFMalformedXMLException
@synthesize parser = _parser;

+ (instancetype)exceptionWithParser: (OFXMLParser *)parser
{
	return [[[self alloc] initWithParser: parser] autorelease];
}

- init
{
	return [self initWithParser: nil];
}

- initWithParser: (OFXMLParser *)parser
{
	self = [super init];

	_parser = [parser retain];