Avoid error with empty (begin) in some Schemes
This would happen when an unpack-case clause has no keys to unpack, only the list head.
This commit is contained in:
parent
1886e4e52f
commit
b1d5956567
|
@ -53,7 +53,7 @@
|
|||
(define-syntax unpack-using/set
|
||||
(syntax-rules ()
|
||||
((_ (sets ...))
|
||||
(begin sets ...))
|
||||
(begin sets ... #f))
|
||||
((_ (sets ...) rule rules ...)
|
||||
(unpack-using/set (sets ... (unpack-using/rule rule)) rules ...))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue