changed my mind about define-syntax(es)
This commit is contained in:
parent
d5d433d802
commit
281bf60777
|
@ -81,8 +81,8 @@
|
|||
(let loop ([stx stx] [first? #t])
|
||||
(define (loop* stx) (loop stx #f))
|
||||
(syntax-parse stx
|
||||
#:datum-literals (module module* module+ begin-for-syntax define-syntax define-syntaxes)
|
||||
[((~or module module* module+ begin-for-syntax define-syntax define-syntaxes)
|
||||
#:datum-literals (module module* module+ begin-for-syntax)
|
||||
[((~or module module* module+ begin-for-syntax)
|
||||
e ...)
|
||||
#:when (not first?)
|
||||
(define ?start (syntax-position stx))
|
||||
|
|
|
@ -48,8 +48,7 @@ in that file is covered. By default it checks character locations.
|
|||
|
||||
There are three possible results:
|
||||
@itemize[@item{@racket['irrelevant] --- The location is not considered relevant to coverage information.
|
||||
It is either not in the coverage information; is in a submodule; is a @racket[define-syntax],
|
||||
@racket[define-syntaxes], or @racket[begin-for-syntax] form;
|
||||
It is either not in the coverage information; is in a submodule; is a @racket[begin-for-syntax] form;
|
||||
or lexes (in the sense of that languages, @racket[_color-lexer]) as a comment or whitespace.}
|
||||
@item{@racket['covered] --- The location is not @racket['irrelevant] and is
|
||||
covered}
|
||||
|
|
Loading…
Reference in New Issue
Block a user