aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-toplev.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/i-toplev.boot')
-rw-r--r--src/interp/i-toplev.boot4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interp/i-toplev.boot b/src/interp/i-toplev.boot
index 0c40b23d..27b0cc47 100644
--- a/src/interp/i-toplev.boot
+++ b/src/interp/i-toplev.boot
@@ -1,5 +1,7 @@
-- Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
-- All rights reserved.
+-- Copyright (C) 2007-2008, Gabriel Dos Reis.
+-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
@@ -305,7 +307,7 @@ interpretTopLevel(x, posnForm) ==
interpret(x, :restargs) ==
posnForm := if PAIRP restargs then CAR restargs else restargs
--type analyzes and evaluates expression x, returns object
- $env:local := [$EmptyEnvironment]
+ $env:local := [[nil]]
$eval:local := true --generate code-- don't just type analyze
$genValue:local := true --evaluate all generated code
interpret1(x,nil,posnForm)