Adding another kind of error in xexpr

svn: r18677
This commit is contained in:
Jay McCarthy 2010-03-30 19:55:56 +00:00
parent 7aedbc7d4c
commit cafd092994

View File

@ -95,7 +95,11 @@
l)]))
(define (format-elements l)
(map format-xexpr l))
(if (list? l)
(map format-xexpr l)
(mark-error
"Expected a list of elements"
l)))
(define (format-attributes l)
(match l