repositories
/
cc1516.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c97f5
)
.
author
Mart Lubbers
<mart@martlubbers.net>
Fri, 20 May 2016 14:37:15 +0000
(16:37 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Fri, 20 May 2016 14:37:15 +0000
(16:37 +0200)
gen.icl
patch
|
blob
|
history
diff --git
a/gen.icl
b/gen.icl
index
b4b9992
..
082c34d
100644
(file)
--- a/
gen.icl
+++ b/
gen.icl
@@
-159,7
+159,7
@@
instance g Expr where
>>| tell [Instr "ajs" [Lit -1] ""]
g (VarExpr _ (VarDef k fs)) = getAdressbook >>= \ab->case 'Map'.get k ab of
Just (ADDR t) = tell [Instr "ldl" [Lit t] ""] >>| mapM_ g fs >>| pure ()
- _ = liftT (Left $ Error "
PANIC: variable and function name clash
")
+ _ = liftT (Left $ Error "
Higher order functions not implemented
")
g (FunExpr _ k es fs) =
mapM_ g es
>>| jump "bsr" k