aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/jvm/case.jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-04 22:38:56 -0400
committerEduardo Julian2018-07-04 22:38:56 -0400
commit376ed521cd92c2c53f2e9cc3cb16b85b67e2fdea (patch)
tree338f244cf5e7b53dc43724c826285689481808b5 /new-luxc/source/luxc/lang/translation/jvm/case.jvm.lux
parent4bc58162f3d381abf33c936eafc976a2f422258c (diff)
- Re-named "degree" to "revolution".
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/jvm/case.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/case.jvm.lux16
1 files changed, 6 insertions, 10 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm/case.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/case.jvm.lux
index f5d288827..18309b0e5 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/case.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/case.jvm.lux
@@ -79,16 +79,12 @@
($i.unwrap #$.Boolean)
(jumpI @else))))
- (^template [<tag> <prep>]
- [_ (<tag> value)]
- (macro/wrap (|>> peekI
- ($i.unwrap #$.Long)
- ($i.long (|> value <prep>))
- $i.LCMP
- ($i.IFNE @else))))
- ([#.Nat (:coerce Int)]
- [#.Int (: Int)]
- [#.Deg (:coerce Int)])
+ [_ (#.Int value)]
+ (macro/wrap (|>> peekI
+ ($i.unwrap #$.Long)
+ ($i.long value)
+ $i.LCMP
+ ($i.IFNE @else)))
[_ (#.Frac value)]
(macro/wrap (|>> peekI