Adding another kind of error in xexpr
svn: r18677
This commit is contained in:
parent
7aedbc7d4c
commit
cafd092994
|
@ -95,7 +95,11 @@
|
||||||
l)]))
|
l)]))
|
||||||
|
|
||||||
(define (format-elements 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)
|
(define (format-attributes l)
|
||||||
(match l
|
(match l
|
||||||
|
|
Loading…
Reference in New Issue
Block a user