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