adapt demodularizer to `compiler/zo-struct' change

This commit is contained in:
Matthew Flatt 2011-07-01 22:44:48 -06:00
parent 4d38f491ca
commit 98740390fa

View File

@ -163,13 +163,13 @@
empty
(begin
(hash-set! REQUIRED ct #t)
(list (make-req (make-stx (make-wrapped ct empty #f)) (make-toplevel 0 0 #f #f)))))]
(list (make-req (make-stx (make-wrapped ct empty 'clean)) (make-toplevel 0 0 #f #f)))))]
[(module-path-index? ct)
(if (hash-has-key? REQUIRED ct)
empty
(begin
(hash-set! REQUIRED ct #t)
(list (make-req (make-stx (make-wrapped ct empty #f)) (make-toplevel 0 0 #f #f)))))]
(list (make-req (make-stx (make-wrapped ct empty 'clean)) (make-toplevel 0 0 #f #f)))))]
[(not ct)
empty]
[(@phase? ct)