From 3aa255629a915314b71c04820833b683ff9234fc Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 23 Jun 2008 19:02:42 +0200 Subject: Initialise the global environment on startup. --- MLKInterpreter.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'MLKInterpreter.m') diff --git a/MLKInterpreter.m b/MLKInterpreter.m index 35d73cf..1f158ec 100644 --- a/MLKInterpreter.m +++ b/MLKInterpreter.m @@ -81,6 +81,7 @@ static MLKSymbol *_DEFMACRO; if (!program || [program isKindOfClass:[MLKSymbol class]]) { + //NSLog (@"Processing symbol."); if ([context symbolNamesSymbolMacro:program]) { id macrofun = [context macroForSymbol:program]; @@ -93,10 +94,12 @@ static MLKSymbol *_DEFMACRO; } else if ([context variableIsLexical:program]) { + //NSLog (@"Processing lexical variable."); return [lexenv valueForSymbol:program]; } else { + //NSLog (@"Processing special variable."); return [dynamicContext valueForBinding:program]; } } -- cgit v1.2.3