From e97d47a664131b5c80f35265f33e82eefb04f1d0 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 1 Jul 2008 17:40:34 +0200 Subject: Implement a raw version of LOAD. --- MLKReader.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MLKReader.m') diff --git a/MLKReader.m b/MLKReader.m index c880a68..f957c4d 100644 --- a/MLKReader.m +++ b/MLKReader.m @@ -67,7 +67,7 @@ } ch = [stream readChar]; - if ([readtable isWhitespaceCharacter:ch]) + if ([readtable isWhitespaceCharacter:ch] || ch == '\0') goto start; if ([readtable isMacroCharacter:ch]) @@ -115,7 +115,7 @@ if ([readtable isConstituentCharacter:ch]) { - //NSLog (@"--> Constituent"); + //NSLog (@"--> Constituent (%C)", ch); token = [NSMutableString stringWithCapacity:8]; [token appendFormat:@"%C", [readtable charWithReadtableCase:ch]]; } -- cgit v1.2.3