From 85c76a3866597bfed2280aba4834edbce0765800 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Thu, 3 Jul 2008 20:27:04 +0200 Subject: Make the loader's messages even more readable. --- MLKInterpreter.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MLKInterpreter.m b/MLKInterpreter.m index 030d537..5602677 100644 --- a/MLKInterpreter.m +++ b/MLKInterpreter.m @@ -36,6 +36,8 @@ #import #import +#include + 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] -- cgit v1.2.3