Skip to content

Commit

Permalink
Remove superfluous skip-whitespace in read-sexpr.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Jul 20, 2017
1 parent c88b9d8 commit adccbc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reader.lisp
Expand Up @@ -28,7 +28,7 @@

(defun read-sexpr-list (stream)
(prog1 (loop do (skip-whitespace stream)
until (eql #\) (peek-char T stream))
until (eql #\) (peek-char NIL stream))
collect (read-sexpr stream))
(read-char stream)))

Expand Down Expand Up @@ -86,7 +86,6 @@
(safe-find-symbol token #.*package*)))))

(defun read-sexpr (stream)
(skip-whitespace stream)
(let* ((char (read-char stream))
(*errors* NIL)
(sexpr (handler-bind
Expand Down

0 comments on commit adccbc7

Please sign in to comment.