File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
src/main/clojure/cljs/vendor/clojure/tools Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ cd src/main/clojure/cljs
77
88DJSON_RELEASE=" 2.4.0"
99TRANSIT_RELEASE=" 1.0.329"
10- TREADER_RELEASE=" 1.3.6 "
10+ TREADER_RELEASE=" 1.3.7 "
1111
1212rm -rf data.json
1313git clone -b " v$DJSON_RELEASE " --depth 1 git@github.com:clojure/data.json.git
Original file line number Diff line number Diff line change 378378 (let [o (read* rdr true nil opts pending-forms)]
379379 (if (instance? IMeta o)
380380 (let [m (if (and line (seq? o))
381- (assoc m :line line :column column)
381+ (merge { :line line :column column} m )
382382 m)]
383383 (if (instance? IObj o)
384384 (with-meta o (merge (meta o) m))
10221022 ([] (read+string (source-logging-push-back-reader *in*)))
10231023 ([stream] (read+string stream true nil ))
10241024 ([^SourceLoggingPushbackReader stream eof-error? eof-value]
1025- (let [o (log-source stream (read stream eof-error? eof-value))
1026- s (.trim (str (:buffer @(.source-log-frames stream))))]
1025+ (let [^StringBuilder buf (doto (:buffer @(.source-log-frames stream)) (.setLength 0 ))
1026+ o (log-source stream (read stream eof-error? eof-value))
1027+ s (.trim (str buf))]
10271028 [o s]))
10281029 ([opts ^SourceLoggingPushbackReader stream]
1029- (let [o (log-source stream (read opts stream))
1030- s (.trim (str (:buffer @(.source-log-frames stream))))]
1030+ (let [^StringBuilder buf (doto (:buffer @(.source-log-frames stream)) (.setLength 0 ))
1031+ o (log-source stream (read opts stream))
1032+ s (.trim (str buf))]
10311033 [o s])))
Original file line number Diff line number Diff line change 317317 [reader f]
318318 (let [frame (.source-log-frames ^SourceLoggingPushbackReader reader)
319319 ^StringBuilder buffer (:buffer @frame)
320- new-frame (assoc-in @frame [ :offset ] (.length buffer))]
320+ new-frame (assoc @frame :offset (.length buffer))]
321321 (with-bindings {frame new-frame}
322322 (let [ret (f )]
323323 (if (instance? clojure.lang.IObj ret)
You can’t perform that action at this time.
0 commit comments