better error for pcdata case

svn: r6069
This commit is contained in:
Matthias Felleisen 2007-04-28 16:42:33 +00:00
parent a6ad897a70
commit b969371faa

View File

@ -65,7 +65,7 @@
1
(- (location-offset (pos)) 1)))
"expected root element - received ~a"
start)]))
(if (pcdata? start) (pcdata-string start) start))]))
;; read-misc : Input-port (-> Location) -> (listof Misc) Token
(define (read-misc in pos)