make it require one or more strings, just in case
svn: r13127
This commit is contained in:
parent
ac5dcae9e6
commit
62ed5ba3ad
|
@ -21,9 +21,10 @@
|
||||||
#f "expected a module path after #:from" stx #'lib))
|
#f "expected a module path after #:from" stx #'lib))
|
||||||
(raise-syntax-error
|
(raise-syntax-error
|
||||||
#f "expected an identifier before #:from" stx #'id))]
|
#f "expected an identifier before #:from" stx #'id))]
|
||||||
[(help str ...)
|
[(help str0 str ...)
|
||||||
(andmap (lambda (s) (string? (syntax-e s))) (syntax->list #'(str ...)))
|
(andmap (lambda (s) (string? (syntax-e s)))
|
||||||
#'(search-for (list str ...))]
|
(syntax->list #'(str0 str ...)))
|
||||||
|
#'(search-for (list str0 str ...))]
|
||||||
[(help #:search str ...)
|
[(help #:search str ...)
|
||||||
(with-syntax ([(str ...)
|
(with-syntax ([(str ...)
|
||||||
(map (lambda (e)
|
(map (lambda (e)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user