r6rs io work; compiler tweaks

svn: r8805

original commit: 743db7529d4d83aad4cf6dd63355bb1131cabfa1
This commit is contained in:
Matthew Flatt 2008-02-26 13:54:54 +00:00
parent ae4fae1832
commit 510741c3b2

View File

@ -1885,6 +1885,12 @@
(cond
[(string? i)
(cond
[(regexp-match #px"^(.*)_([a-zA-Z0-9]+)(.*)$" i)
=> (lambda (m)
(append (loop (cadr m))
(list (make-element 'subscript
(loop (caddr m))))
(loop (cadddr m))))]
[(regexp-match #px"^(.*)([()0-9{}\\[\\]])(.*)$" i)
=> (lambda (m)
(append (loop (cadr m))