aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/r/loop.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/r/loop.jvm.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux b/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux
index d0caebd80..ecaf12c7c 100644
--- a/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux
@@ -7,7 +7,7 @@
[macro])
(luxc [lang]
(lang ["ls" synthesis]
- (host [r #+ Expression Statement @@])))
+ (host [r #+ Expression @@])))
[//]
(// [".T" reference]))
@@ -25,7 +25,7 @@
_ (//.save (r.set! $loop-name
(r.function (|> (list.n/range +0 (n/dec (list.size initsS+)))
(list/map (|>> (n/+ offset) referenceT.variable)))
- (r.do! bodyO))))]
+ bodyO)))]
(wrap (r.apply initsO+ @loop-name))))
(def: #export (translate-recur translate argsS+)