diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-07-03 20:27:04 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-07-03 20:27:04 +0200 |
commit | 85c76a3866597bfed2280aba4834edbce0765800 (patch) | |
tree | 3855fb8c91d85ec54e86fb2bf5c99b59903b0d57 | |
parent | 3b94099c717020be8c29588551f61bc67e610d9d (diff) |
Make the loader's messages even more readable.
-rw-r--r-- | MLKInterpreter.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MLKInterpreter.m b/MLKInterpreter.m index 030d537..5602677 100644 --- a/MLKInterpreter.m +++ b/MLKInterpreter.m @@ -36,6 +36,8 @@ #import <Foundation/NSNull.h> #import <Foundation/NSString.h> +#include <stdio.h> + static MLKPackage *cl; static MLKPackage *sys; @@ -579,7 +581,8 @@ static MLKSymbol *_LAMBDA; else formdesc = [code descriptionForLisp]; - NSLog (@"; LOAD: Evaluating a top-level form: %@.", formdesc); + fprintf (stderr, "; LOAD: %s\n", + [formdesc UTF8String]); result = [MLKInterpreter eval:code inLexicalContext:[MLKLexicalContext globalContext] |