fixed parsing of prefix, thanks to comments from Matthew Flatt

This commit is contained in:
Danny Yoo 2011-05-24 14:51:56 -04:00
parent b740fea82c
commit 98bb806c93

View File

@ -182,12 +182,9 @@
[(struct prefix (num-lifts toplevels stxs))
(make-Prefix
(append (map parse-prefix-toplevel toplevels)
(if (empty? stxs)
empty
(list #f))
(build-list num-lifts
(lambda (i)
#f))))]))
(map (lambda (x) #f) stxs)
(if (empty? stxs) empty (list #f))
(build-list num-lifts (lambda (i) #f))))]))
;; parse-top-code: (U form Any -> Expression)