diff options
Diffstat (limited to 'MLKReadtable.m')
-rw-r--r-- | MLKReadtable.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MLKReadtable.m b/MLKReadtable.m index 9a9b357..f31f05b 100644 --- a/MLKReadtable.m +++ b/MLKReadtable.m @@ -59,6 +59,7 @@ enum MLKCharacterTrait self = [super init]; _syntaxTable = [[NSMutableDictionary alloc] init]; _readerMacros = [[NSMutableDictionary alloc] init]; + _traits = [[NSMutableDictionary alloc] init]; _case = MLKReadtableCase_UPCASE; return self; } @@ -68,6 +69,7 @@ enum MLKCharacterTrait MLKReadtable *copy = [[MLKReadtable allocWithZone:zone] initSuper]; copy->_syntaxTable = [_syntaxTable mutableCopyWithZone:zone]; copy->_readerMacros = [_readerMacros mutableCopyWithZone:zone]; + copy->_traits = [_traits mutableCopyWithZone:zone]; copy->_case = _case; return copy; } |