It seems like the reader/LNPR is already adding the :line meta data (both in the repl and for files). Removed.
This commit is contained in:
parent
7c541e537b
commit
ddc36b3a65
1 changed files with 2 additions and 3 deletions
|
@ -92,10 +92,9 @@
|
|||
LineNumberingPushbackReader"
|
||||
[^LineNumberingPushbackReader r]
|
||||
(lazy-seq
|
||||
(let [form (read r false ::eof)
|
||||
line-num (.getLineNumber r)]
|
||||
(let [form (read r false ::eof)]
|
||||
(when-not (= form ::eof)
|
||||
(cons (with-meta form {:line line-num}) (read-ns r))))))
|
||||
(cons form (read-ns r))))))
|
||||
|
||||
;; `tree-seq` returns a lazy-seq of nodes for a tree.
|
||||
;; Given an expression, we can then match rules against its pieces.
|
||||
|
|
Loading…
Reference in a new issue