From ffba1c0c3bb96239a7d8b4463d5b78d0455adc40 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 7 Jul 2008 20:00:44 +0200 Subject: Interpreter: Make NIL throwable. --- MLKInterpreter.m | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/MLKInterpreter.m b/MLKInterpreter.m index 918aa1a..0a70f2b 100644 --- a/MLKInterpreter.m +++ b/MLKInterpreter.m @@ -171,10 +171,10 @@ static MLKSymbol *_LAMBDA; NS_DURING { - catchTag = denullify([[self eval:[[program cdr] car] - inLexicalContext:context - withEnvironment:lexenv] - objectAtIndex:0]); + catchTag = [[self eval:[[program cdr] car] + inLexicalContext:context + withEnvironment:lexenv] + objectAtIndex:0]; values = [self eval:[MLKCons cons:PROGN with:[[program cdr] cdr]] inLexicalContext:context @@ -489,10 +489,10 @@ static MLKSymbol *_LAMBDA; NSArray *values; NSDictionary *userInfo; - catchTag = denullify([[self eval:[[program cdr] car] - inLexicalContext:context - withEnvironment:lexenv] - objectAtIndex:0]); + catchTag = [[self eval:[[program cdr] car] + inLexicalContext:context + withEnvironment:lexenv] + objectAtIndex:0]; values = [self eval:[[[program cdr] cdr] car] inLexicalContext:context -- cgit v1.2.3