Skip to content

Commit 78c882f

Browse files
author
dnolen
committed
CLJS-1205: Support conditional reading in REPLs
Same as CLJ-1200
1 parent e8a4ad9 commit 78c882f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clj/cljs/repl.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
*in*)]
9494
(or ({:line-start request-prompt :stream-end request-exit}
9595
(skip-whitespace *in*))
96-
(let [input (reader/read)]
96+
(let [input (reader/read {:read-cond :allow :features #{:cljs}} *in*)]
9797
(skip-if-eol *in*)
9898
input)))))
9999

0 commit comments

Comments
 (0)