summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-06-15 00:32:34 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-06-15 00:32:34 +0200
commit1395b759b4d1e62ec94ab756a6606ce7c2ed215f (patch)
tree3f03940651f1d62d2ef9a062d1292f5750981eb2
parent5994688058139e7ef4bc22120dc2345b5d68e8d3 (diff)
MLKReadtable#-copyWithZone:: Call [super init].
-rw-r--r--MLKReadtable.m7
1 files changed, 6 insertions, 1 deletions
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;