re-enable code
svn: r13612
This commit is contained in:
parent
738b8311af
commit
aefaaa26d0
|
@ -17,15 +17,15 @@
|
||||||
[else (let: loop : (Listof Syntax)
|
[else (let: loop : (Listof Syntax)
|
||||||
([fst : Syntax (car ids)]
|
([fst : Syntax (car ids)]
|
||||||
[rst : (Listof Syntax) (cdr ids)])
|
[rst : (Listof Syntax) (cdr ids)])
|
||||||
(error 'foo) #;(cond
|
(cond
|
||||||
[(null? rst) (list fst)]
|
[(null? rst) (list fst)]
|
||||||
[else (if (and (eq? (syntax-source fst)
|
[else (if (and (eq? (syntax-source fst)
|
||||||
(syntax-source (car rst)))
|
(syntax-source (car rst)))
|
||||||
;; CHANGE - used eqv? instead of =, since these might be #f
|
;; CHANGE - used eqv? instead of =, since these might be #f
|
||||||
(eqv? (syntax-position fst)
|
(eqv? (syntax-position fst)
|
||||||
(syntax-position (car rst))))
|
(syntax-position (car rst))))
|
||||||
(loop fst (cdr rst))
|
(loop fst (cdr rst))
|
||||||
(cons fst (loop (car rst) (cdr rst))))]))]))
|
(cons fst (loop (car rst) (cdr rst))))]))]))
|
||||||
|
|
||||||
|
|
||||||
;; name-duplication? : (listof syntax) (listof id-set) symbol -> boolean
|
;; name-duplication? : (listof syntax) (listof id-set) symbol -> boolean
|
||||||
|
|
Loading…
Reference in New Issue
Block a user