aboutsummaryrefslogtreecommitdiff
path: root/luxc/src
diff options
context:
space:
mode:
Diffstat (limited to 'luxc/src')
-rw-r--r--luxc/src/lux/compiler/io.clj2
-rw-r--r--luxc/src/lux/compiler/jvm.clj2
2 files changed, 2 insertions, 2 deletions
diff --git a/luxc/src/lux/compiler/io.clj b/luxc/src/lux/compiler/io.clj
index 46a3fdfd7..8820bfb05 100644
--- a/luxc/src/lux/compiler/io.clj
+++ b/luxc/src/lux/compiler/io.clj
@@ -13,7 +13,7 @@
(defn read-file [source-dirs module-name]
(|do [jvm? &/jvm?
js? &/js?
- :let [^String host-file-name (cond jvm? (str module-name ".jvm.lux")
+ :let [^String host-file-name (cond jvm? (str module-name ".old.lux")
js? (str module-name ".js.lux")
:else (assert false "[I/O Error] Unknown host platform."))
^String lux-file-name (str module-name ".lux")]]
diff --git a/luxc/src/lux/compiler/jvm.clj b/luxc/src/lux/compiler/jvm.clj
index 8e2966b52..b5e04792a 100644
--- a/luxc/src/lux/compiler/jvm.clj
+++ b/luxc/src/lux/compiler/jvm.clj
@@ -249,7 +249,7 @@
&&jvm-cache/uninstall-all-defs-in-module)
_ (compile-module source-dirs "lux")]
(compile-module source-dirs program-module))]
- (|case (m-action (&/init-state "JVM" mode (jvm-host)))
+ (|case (m-action (&/init-state "{old}" mode (jvm-host)))
(&/$Right ?state _)
(do (println "Compilation complete!")
(&&cache/clean ?state))