diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-24 14:38:30 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-24 14:38:30 +0200 |
commit | 3738502a328aa4719b868862cbb0dba977359c36 (patch) | |
tree | 70fc9252c867aa23909c87acaca92ddd999623f1 | |
parent | 26fa88efed6adff0ef5c79b918514cd5c704c84a (diff) |
Reader: When reading a close-paren, remove it from the stream before continuing.
-rw-r--r-- | MLKParenReader.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MLKParenReader.m b/MLKParenReader.m index 6bb6ba9..9287ce9 100644 --- a/MLKParenReader.m +++ b/MLKParenReader.m @@ -78,6 +78,8 @@ static unichar slurpWhitespaceAndPeek (MLKStream *stream, MLKReadtable *readtabl tail = [tail cdr]; } } + + [stream readChar]; return [NSArray arrayWithObject:(cons ? (id)cons : (id)[NSNull null])]; } |