Merge pull request #383 from arthurmaciel/improve-icyc-p-flag

Improved "-p" flag to read/evalute all sexp passed
This commit is contained in:
Justin Ethier 2020-05-28 21:39:14 -04:00 committed by GitHub
commit 7c147526a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ Options:
(else
(let* ((sexp-str (apply string-append sexp-strs))
(in-port (open-input-string sexp-str))
(sexp (read in-port)))
(sexp (cons 'begin (read-all in-port)))
(display
(eval sexp))
(newline)