aboutsummaryrefslogtreecommitdiff
path: root/src/interp/compiler.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/compiler.boot')
-rw-r--r--src/interp/compiler.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/compiler.boot b/src/interp/compiler.boot
index e792c690..ff7f5787 100644
--- a/src/interp/compiler.boot
+++ b/src/interp/compiler.boot
@@ -1046,7 +1046,7 @@ replaceExitEtc(x,tag,opFlag,opMode) ==
--bound in compSeq1 and compDefineCapsuleFunction
$finalEnv => intersectionEnvironment($finalEnv,t.env)
t.env
- if opFlag = 'TAGGEDreturn then
+ if opFlag is 'TAGGEDreturn then
x.op := '%return
else
x.op := "THROW"
@@ -1399,7 +1399,7 @@ checkExternalEntity(id,type,lang,e) ==
get(id,"modemap",e) =>
stackAndThrow('"%1b already names exported operations in scope",[id])
-- We don't type check builtin declarations at the moment.
- lang = 'Builtin or lang = 'Lisp => id
+ lang is 'Builtin or lang is 'Lisp => id
-- Only functions are accepted at the moment. And all mentioned
-- types must be those that are supported by the FFI.
type' := checkExternalEntityType(type,e)