[bugfix] bin/picrin -e option broken

This commit is contained in:
Yuichi Nishiwaki 2015-06-20 02:35:13 +09:00
parent 9dbcb2a605
commit 6449731bf4
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
(scheme process-context)
(scheme load)
(scheme eval)
(picrin base)
(picrin repl))
(define (print-help)
@ -40,7 +41,7 @@
(lambda (in)
(let loop ((expr (read in)))
(unless (eof-object? expr)
(eval expr '(picrin user))
(eval expr (library-environment (find-library '(picrin user))))
(loop (read in)))))))
(define (main)