mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
Allow (load) to read source location information
This commit is contained in:
parent
7dd6ddfc71
commit
d1630c6a4f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
(define (load filename . env)
|
||||
(let ((exprs (call-with-input-file filename
|
||||
(lambda (port)
|
||||
(read-all port)))))
|
||||
(read-all/source port filename)))))
|
||||
(for-each
|
||||
(lambda (expr)
|
||||
(apply eval (cons expr env)))
|
||||
|
|
Loading…
Add table
Reference in a new issue