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))
|
[(struct prefix (num-lifts toplevels stxs))
|
||||||
(make-Prefix
|
(make-Prefix
|
||||||
(append (map parse-prefix-toplevel toplevels)
|
(append (map parse-prefix-toplevel toplevels)
|
||||||
(if (empty? stxs)
|
(map (lambda (x) #f) stxs)
|
||||||
empty
|
(if (empty? stxs) empty (list #f))
|
||||||
(list #f))
|
(build-list num-lifts (lambda (i) #f))))]))
|
||||||
(build-list num-lifts
|
|
||||||
(lambda (i)
|
|
||||||
#f))))]))
|
|
||||||
|
|
||||||
|
|
||||||
;; parse-top-code: (U form Any -> Expression)
|
;; parse-top-code: (U form Any -> Expression)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user