diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-17 21:20:42 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-17 21:20:42 +0200 |
commit | 164e403a974165af103fa072d0f14e2e256153be (patch) | |
tree | 17aa5feae4fef9eebeed7e30efd5a9e20b1d1c5d /MLKReadtable.m | |
parent | b11b87db720955acae99a558ef18dd5b6995022d (diff) |
MLKDynamicContext#+initialize: Fix various sources of crashes.
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; } |