aboutsummaryrefslogtreecommitdiff
path: root/src/interp/c-util.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-29 19:25:31 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-29 19:25:31 +0000
commita31ebb2c1b71c66ac34ffb0c27e6d7188ffb0906 (patch)
tree493366bf01adb5685ddf3a2c599ff0aaf2eac239 /src/interp/c-util.boot
parentd983797f2d41c45fcf0679c7f4d1f90c1702ed2f (diff)
downloadopen-axiom-a31ebb2c1b71c66ac34ffb0c27e6d7188ffb0906.tar.gz
* interp/compiler.boot (getExternalSymbolMode): Allow Lisp as
foreign language. (checkExternalEntity): Likewise. (compSignatureImport): Likewise. Give foreign variables dummy values. * interp/c-util.boot (middleEndExpand): Handle %true and %false. * interp/g-util.boot (expandToVMForm): Likewise.
Diffstat (limited to 'src/interp/c-util.boot')
-rw-r--r--src/interp/c-util.boot2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interp/c-util.boot b/src/interp/c-util.boot
index 459ef90e..79e040b6 100644
--- a/src/interp/c-util.boot
+++ b/src/interp/c-util.boot
@@ -1075,6 +1075,8 @@ $middleEndMacroList ==
middleEndExpand: %Form -> %Form
middleEndExpand x ==
+ x = '%false => 'NIL
+ x = '%true => 'T
isAtomicForm x => x
[op,:args] := x
IDENTP op and (fun := getOpcodeExpander op) => apply(fun,x,nil)