From 0b4042d8142aa62f8ef6e6fb9d1b1e5cfe922bca Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sun, 24 Aug 2008 14:36:17 +0200 Subject: MLKLexicalEnvironment: Fix value setting. --- MLKLexicalEnvironment.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MLKLexicalEnvironment.m b/MLKLexicalEnvironment.m index 723c955..91ff351 100644 --- a/MLKLexicalEnvironment.m +++ b/MLKLexicalEnvironment.m @@ -125,7 +125,7 @@ static MLKLexicalEnvironment *global_environment; || [_variables environmentForSymbol:symbol] == global_environment->_variables) { id *cell = [[MLKLexicalContext globalContext] bindingCellForSymbol:symbol]; - [*cell setValue:value forSymbol:symbol]; + [*cell setValue:value]; } else { @@ -138,7 +138,7 @@ static MLKLexicalEnvironment *global_environment; if (self == global_environment) { id *cell = [[MLKLexicalContext globalContext] bindingCellForSymbol:symbol]; - [*cell setValue:value forSymbol:symbol]; + [*cell setValue:value]; } else { -- cgit v1.2.3