|
|
@ -73,7 +73,7 @@
|
|
|
|
((_ re ...)
|
|
|
|
((_ re ...)
|
|
|
|
(char-complement (union re ...)))))
|
|
|
|
(char-complement (union re ...)))))
|
|
|
|
|
|
|
|
|
|
|
|
;; char-set difference
|
|
|
|
;; set difference
|
|
|
|
(define-lex-trans (sre-- stx)
|
|
|
|
(define-lex-trans (sre-- stx)
|
|
|
|
(syntax-case stx ()
|
|
|
|
(syntax-case stx ()
|
|
|
|
((_)
|
|
|
|
((_)
|
|
|
@ -81,7 +81,7 @@
|
|
|
|
"must have at least one argument"
|
|
|
|
"must have at least one argument"
|
|
|
|
stx))
|
|
|
|
stx))
|
|
|
|
((_ big-re re ...)
|
|
|
|
((_ big-re re ...)
|
|
|
|
(syntax (intersect big-re (~ (union re) ...))))))
|
|
|
|
(syntax (& big-re (complement (union re ...)))))))
|
|
|
|
|
|
|
|
|
|
|
|
(define-lex-trans (sre-/ stx)
|
|
|
|
(define-lex-trans (sre-/ stx)
|
|
|
|
(syntax-case stx ()
|
|
|
|
(syntax-case stx ()
|
|
|
|