aboutsummaryrefslogtreecommitdiff
path: root/src/interp/lisp-backend.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-12-11 18:02:11 +0000
committerdos-reis <gdr@axiomatics.org>2011-12-11 18:02:11 +0000
commitd60b0772098f0907850b7cc520224a1bfb093e44 (patch)
tree1dab60a652465a872dbf15d350fb03931d9ead67 /src/interp/lisp-backend.boot
parentc5d7d1291dad4814157c57406fdfbd233a16bcb0 (diff)
downloadopen-axiom-d60b0772098f0907850b7cc520224a1bfb093e44.tar.gz
* interp/compiler.boot (compColon): Give initial %undefined value
to local variable declarations which are not definitions. * interp/lisp-backend.boot (expandToVMForm): Translate %undefined.
Diffstat (limited to 'src/interp/lisp-backend.boot')
-rw-r--r--src/interp/lisp-backend.boot3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interp/lisp-backend.boot b/src/interp/lisp-backend.boot
index 8e382180..3ab11a8a 100644
--- a/src/interp/lisp-backend.boot
+++ b/src/interp/lisp-backend.boot
@@ -749,7 +749,8 @@ getOpcodeExpander op ==
++ Expand all opcodes contained in the form `x' into a form
++ suitable for evaluation by the VM.
expandToVMForm x ==
- x = '%false or x = '%nil => 'NIL
+ x is '%false or x is '%nil => 'NIL
+ x is '%undefined => 'NIL -- for the time being. FIXME.
ident? x and (x' := x has %Rename) => x'
atomic? x => x
[op,:args] := x