parse: handle empty script WIP

This commit is contained in:
Jan Nieuwenhuizen 2018-07-14 22:51:00 +02:00
parent b20306e123
commit 4bb60cc4c3
1 changed files with 2 additions and 1 deletions

View File

@ -198,9 +198,10 @@
(foo (pretty-print ast)))
(cond ((error? ast)
(stderr "error:") (pretty-print ast (current-error-port)) #f)
((eq? ast 'script)
#t)
(else
(map sh-exec ast)
;;(map (cut local-eval <> (the-environment)) ast)
ast))))
(define (unspecified? o)