Skip to content

Commit

Permalink
Enable handling of non-default tagged literals
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenbrady committed Jul 3, 2016
1 parent 920c256 commit 473534b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lein-light-nrepl/src/lighttable/nrepl/eval.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
(defn- try-read [rdr feature]
{:pre [(#{:clj :cljs} feature)]}
(when rdr
(reader/read {:read-cond :allow :features #{feature} :eof ::EOF} rdr)))
(binding [reader/*data-readers* *data-readers*]
(reader/read {:read-cond :allow :features #{feature} :eof ::EOF} rdr))))

(defn lined-read
([string] (lined-read string :clj))
Expand Down

0 comments on commit 473534b

Please sign in to comment.