Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
russellw committed Oct 8, 2018
1 parent 5ba41bc commit ff20931
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions read.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -241,18 +241,11 @@
(err "unexpected end of file"))

; Left-Parenthesis
((equal *tok* "(" )
(lex)
(prog1
(loop
until(equal *tok*")")
collect(read*)
)
(lex)
)
)

;dot
((equal *tok* "(")
(lex)
(prog1 (loop until (equal *tok* ")") collect (read*)) (lex)))

; Dot
((equal *tok* ".")
(prog1 (list +special+ *tok*) (lex)))

Expand Down

0 comments on commit ff20931

Please sign in to comment.