added default case to avoid runtime errors when parsing bogus images

This commit is contained in:
Robby Findler 2010-10-28 13:50:16 -05:00
parent 02d8b5cebf
commit abca2c91b8

View File

@ -26,7 +26,8 @@
#,@(map (λ (x)
(with-syntax ([(struct: maker) x])
#`[(struct:) maker]))
id-constructor-pairs)))]))
id-constructor-pairs)
[else #f]))]))
(define-id->constructor id->constructor)