reformat, fix error message

svn: r15165
This commit is contained in:
Eli Barzilay 2009-06-13 16:45:31 +00:00
parent 4e766cdca4
commit 7302411d73

View File

@ -36,7 +36,8 @@
[#:wrapper2 ~wrapper2 #'#f] [#:wrapper2 ~wrapper2 #'#f]
[#:whole-body-readers? ~whole-body-readers? #'#f] [#:whole-body-readers? ~whole-body-readers? #'#f]
[(when (equal? (and lang #t) (and ~lang #t)) [(when (equal? (and lang #t) (and ~lang #t))
(err (string-append "must specify either a module path, or #:lang" (err (string-append
"must specify either a module language, or #:language"
(if (and lang ~lang) ", not both" "")))) (if (and lang ~lang) ", not both" ""))))
(unless (equal? (and ~read #t) (and ~read-syntax #t)) (unless (equal? (and ~read #t) (and ~read-syntax #t))
(err "must specify either both #:read and #:read-syntax, or none")) (err "must specify either both #:read and #:read-syntax, or none"))