aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/python
diff options
context:
space:
mode:
authorEduardo Julian2018-04-18 01:28:24 -0400
committerEduardo Julian2018-04-18 01:28:24 -0400
commit7d539a83fd55f7ced7657302054e099955b55ae2 (patch)
tree6aa50f8d58d87da48880569ed2f748e8bc014243 /new-luxc/source/luxc/lang/translation/python
parent6eb9cf17f161522d4eddf6783284952f8a84f099 (diff)
- Initial Scheme back-end implementation.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/python')
-rw-r--r--new-luxc/source/luxc/lang/translation/python/case.jvm.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/translation/python/case.jvm.lux b/new-luxc/source/luxc/lang/translation/python/case.jvm.lux
index 2668ae9f2..6e5935297 100644
--- a/new-luxc/source/luxc/lang/translation/python/case.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/python/case.jvm.lux
@@ -132,9 +132,9 @@
(^code (<pm> (~ [_ (#.Nat idx)])))
(meta/wrap ($_ python.then!
(python.set! (list $temp) (runtimeT.sum//get cursor-top (python.int (:! Int idx)) <flag>))
- (python.if! (python.not (python.= python.none (@@ $temp)))
- (push-cursor! (@@ $temp))
- fail-pm!))))
+ (python.if! (python.= python.none (@@ $temp))
+ fail-pm!
+ (push-cursor! (@@ $temp))))))
(["lux case variant left" python.none]
["lux case variant right" (python.string "")])