aboutsummaryrefslogtreecommitdiff
path: root/src/lux/analyser.clj
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lux/analyser.clj8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lux/analyser.clj b/src/lux/analyser.clj
index f97a0ea08..40ed3ab28 100644
--- a/src/lux/analyser.clj
+++ b/src/lux/analyser.clj
@@ -156,12 +156,10 @@
(&/with-cursor cursor
(&&lux/analyse-def analyse optimize eval! compile-def ?name ?value ?meta)))
- "_lux_import"
- (|let [(&/$Cons [_ (&/$TextS ?path)]
- (&/$Cons [_ (&/$TextS ?alias)]
- (&/$Nil))) parameters]
+ "_lux_module"
+ (|let [(&/$Cons ?meta (&/$Nil)) parameters]
(&/with-cursor cursor
- (&&lux/analyse-import analyse compile-module ?path ?alias)))
+ (&&lux/analyse-module analyse optimize eval! compile-module ?meta)))
"_lux_program"
(|let [(&/$Cons [_ (&/$SymbolS "" ?args)]