aboutsummaryrefslogtreecommitdiff
path: root/luxc/src/lux.clj
diff options
context:
space:
mode:
authorEduardo Julian2017-01-11 21:39:30 -0400
committerEduardo Julian2017-01-11 21:39:30 -0400
commit8b158ecbd330dce3603ba5e854fb21ca482c0b64 (patch)
tree3980fe603fa72740713e0a496f33a5123ae4a876 /luxc/src/lux.clj
parente44d30c41694a574ae00b55c333e39e4e83c478a (diff)
- Fixed some bugs in the REPL.
Diffstat (limited to '')
-rw-r--r--luxc/src/lux.clj6
1 files changed, 4 insertions, 2 deletions
diff --git a/luxc/src/lux.clj b/luxc/src/lux.clj
index e6fc3f4cc..c1e04b9a3 100644
--- a/luxc/src/lux.clj
+++ b/luxc/src/lux.clj
@@ -31,8 +31,10 @@
(&/$Cons "debug" (&/$Cons program-module (&/$Cons resources-dirs (&/$Cons source-dirs (&/$Cons target-dir (&/$Nil))))))
(time (&compiler/compile-program &/$Debug program-module (process-dirs resources-dirs) (process-dirs source-dirs) target-dir))
- (&/$Cons "repl" (&/$Cons source-dirs (&/$Nil)))
- (&repl/repl (process-dirs source-dirs))
+ (&/$Cons "repl" (&/$Cons resources-dirs (&/$Cons source-dirs (&/$Cons target-dir (&/$Nil)))))
+ (&repl/repl (process-dirs resources-dirs)
+ (process-dirs source-dirs)
+ target-dir)
_
(println "Can't understand command.")))