retabbing and dead code removal only
This commit is contained in:
parent
3d03e8f884
commit
ba82f46a07
|
@ -27,17 +27,6 @@
|
|||
[else
|
||||
(eq? elt improper-list)]))
|
||||
|
||||
(define-syntax (noisy-and stx)
|
||||
(syntax-case stx ()
|
||||
[(_) #`#t]
|
||||
[(_ a b ...)
|
||||
(with-syntax ([inner (syntax/loc stx (noisy-and b ...))]
|
||||
[error (syntax/loc #`a
|
||||
(error 'noisy-and "and clause failed"))])
|
||||
(syntax/loc stx (if a inner error)))]
|
||||
[else
|
||||
(error 'noisy-and "bad syntax for noisy-and")]))
|
||||
|
||||
;(->* (syntax? (listof syntax?))
|
||||
; (syntax? (listof syntax?)))
|
||||
|
||||
|
@ -119,6 +108,7 @@
|
|||
[(comes-from-check-expect) unwind-check-expect]
|
||||
[(comes-from-check-within) unwind-check-within]
|
||||
[(comes-from-check-error) unwind-check-error]
|
||||
;; unused: the fake-exp begin takes care of this for us...
|
||||
;;[(comes-from-begin) unwind-begin]
|
||||
[else fall-through])])
|
||||
(process stx settings))))
|
||||
|
@ -282,14 +272,6 @@
|
|||
(syntax->datum stx))))])
|
||||
(syntax (cond . clauses)))))
|
||||
|
||||
;; unused: the fake-exp begin takes care of this for us...
|
||||
#;(define (unwind-begin stx settings)
|
||||
(syntax-case stx (let-values)
|
||||
[(let-values () body ...)
|
||||
(with-syntax ([(new-body ...)
|
||||
(map (lambda (body) (unwind body settings)) (syntax->list #`(body ...)))])
|
||||
#`(begin new-body ...))]))
|
||||
|
||||
(define ((unwind-and/or label) stx settings)
|
||||
(let ([user-source (syntax-property stx 'user-source)]
|
||||
[user-position (syntax-property stx 'user-position)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user