summaryrefslogtreecommitdiff
path: root/MLKLexicalEnvironment.m
diff options
context:
space:
mode:
Diffstat (limited to 'MLKLexicalEnvironment.m')
-rw-r--r--MLKLexicalEnvironment.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/MLKLexicalEnvironment.m b/MLKLexicalEnvironment.m
index 61f09c2..1f7d920 100644
--- a/MLKLexicalEnvironment.m
+++ b/MLKLexicalEnvironment.m
@@ -43,7 +43,9 @@
? (id) parent_member \
: nil) \
values:variable] \
- : (id) (parent ? (id) RETAIN (parent_member) : nil));
+ : (id) (parent \
+ ? (id) RETAIN (parent_member) \
+ : [[MLKEnvironment alloc] init]));
static MLKLexicalEnvironment *global_environment;