From 1395b759b4d1e62ec94ab756a6606ce7c2ed215f Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 15 Jun 2008 00:32:34 +0200 Subject: MLKReadtable#-copyWithZone:: Call [super init]. --- MLKReadtable.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'MLKReadtable.m') diff --git a/MLKReadtable.m b/MLKReadtable.m index c1a1ff5..59f6438 100644 --- a/MLKReadtable.m +++ b/MLKReadtable.m @@ -31,6 +31,11 @@ @implementation MLKReadtable +-(MLKReadtable *) initSuper +{ + return [super init]; +} + -(MLKReadtable *) init { self = [super init]; @@ -42,7 +47,7 @@ -(MLKReadtable *) copyWithZone:(NSZone *)zone { - MLKReadtable *copy = [MLKReadtable allocWithZone:zone]; + MLKReadtable *copy = [[MLKReadtable allocWithZone:zone] initSuper]; copy->_syntaxTable = [_syntaxTable mutableCopyWithZone:zone]; copy->_readerMacros = [_readerMacros mutableCopyWithZone:zone]; copy->_case = _case; -- cgit v1.2.3