Skip to content

Commit

Permalink
CLJ-1700 Enable reader conditionals from the REPL
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart Halloway <stu@cognitect.com>
  • Loading branch information
puredanger authored and stuarthalloway committed Apr 24, 2015
1 parent d1b344e commit e251e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/clojure/main.clj
Expand Up @@ -137,7 +137,7 @@
[request-prompt request-exit]
(or ({:line-start request-prompt :stream-end request-exit}
(skip-whitespace *in*))
(let [input (read)]
(let [input (read {:read-cond :allow} *in*)]
(skip-if-eol *in*)
input)))

Expand Down

0 comments on commit e251e14

Please sign in to comment.