Back

renumbering-read (clj)

(source)

function

(renumbering-read opts reader line-number)
Reads from reader, which must be a LineNumberingPushbackReader, while capturing the read string. If the read is successful, reset the line number and re-read. The line number on re-read is the passed line-number unless :line or :clojure.core/eval-file meta are explicitly set on the read value.

Examples