r6rs command-line fix

svn: r8916
This commit is contained in:
Matthew Flatt 2008-03-07 13:22:14 +00:00
parent 9319a8a810
commit aa2b78ef8b

View File

@ -1,7 +1,9 @@
#lang scheme/base #lang scheme/base
(require scheme/mpair)
(provide command-line exit) (provide command-line exit)
(define (command-line) (define (command-line)
(cons (path->string (find-system-path 'run-file)) (mcons (path->string (find-system-path 'run-file))
(vector->list (current-command-line-arguments)))) (list->mlist (vector->list (current-command-line-arguments)))))