added default case to avoid runtime errors when parsing bogus images
This commit is contained in:
parent
02d8b5cebf
commit
abca2c91b8
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user