File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 276276 ch (read-char rdr)]
277277 (if (or (whitespace? ch) (macros ch) (nil? ch))
278278 (let [s (str sb)]
279- (unread rdr ch)
279+ (when-not (nil? ch)
280+ (unread rdr ch))
280281 (or (match-number s)
281282 (err/throw-invalid-number rdr s)))
282283 (recur (doto sb (.append ch)) (read-char rdr)))))
Original file line number Diff line number Diff line change 211211 ch (read-char rdr)]
212212 (if (or (whitespace? ch) (macros ch) (nil? ch))
213213 (let [s (str sb)]
214- (unread rdr ch)
214+ (when-not (nil? ch)
215+ (unread rdr ch))
215216 (or (match-number s)
216217 (err/throw-invalid-number rdr s)))
217218 (recur (doto sb (.append ch)) (read-char rdr)))))
Original file line number Diff line number Diff line change 266266 ch (read-char rdr)]
267267 (if (or (whitespace? ch) (macros ch) (nil? ch))
268268 (let [s (str sb)]
269- (unread rdr ch)
269+ (when ch ( unread rdr ch) )
270270 (or (match-number s)
271271 (err/throw-invalid-number rdr s)))
272272 (recur (doto sb (.append ch)) (read-char rdr)))))
Original file line number Diff line number Diff line change 209209 ch (read-char rdr)]
210210 (if (or (whitespace? ch) (macros ch) (nil? ch))
211211 (let [s (str sb)]
212- (unread rdr ch)
212+ (when ch ( unread rdr ch) )
213213 (or (match-number s)
214214 (err/throw-invalid-number rdr s)))
215215 (recur (doto sb (.append ch)) (read-char rdr)))))
You can’t perform that action at this time.
0 commit comments