fixed parsing of prefix, thanks to comments from Matthew Flatt
This commit is contained in:
parent
b740fea82c
commit
98bb806c93
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user