aboutsummaryrefslogtreecommitdiff
path: root/src/lang/analyser.clj
diff options
context:
space:
mode:
authorEduardo Julian2014-12-13 00:54:09 -0400
committerEduardo Julian2014-12-13 00:54:09 -0400
commit4a79a6c9cb2ca3e52b259cff987901f400c8ebc3 (patch)
tree5b4c26b5226ec2caa4ce613675dbffdc53cd2247 /src/lang/analyser.clj
parent8f5cd3917fd3a94ae99710a614dce9028f9afad8 (diff)
+ Removed "module" special form.
+ Fixed a bug that was preventing multi-line comments from being truly multi-line.
Diffstat (limited to 'src/lang/analyser.clj')
-rw-r--r--src/lang/analyser.clj8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lang/analyser.clj b/src/lang/analyser.clj
index 811cc93ea..c40fccffb 100644
--- a/src/lang/analyser.clj
+++ b/src/lang/analyser.clj
@@ -173,11 +173,6 @@
(return (annotated [::def [?name args] =value] ::&type/nothing))))
))
-(defanalyser analyse-module
- [::&parser/module]
- (exec [name module-name]
- (return (annotated [::module name] ::&type/nothing))))
-
(def ^:private analyse-form
(try-all-m [analyse-boolean
analyse-string
@@ -191,8 +186,7 @@
analyse-let
analyse-defclass
analyse-definterface
- analyse-def
- analyse-module]))
+ analyse-def]))
;; [Interface]
(defn analyse [module-name tokens]