mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
gpgscm: Do not shadow common function name in catch macro.
* tests/gpgscm/init.scm (catch): Do not shadow 'exit'. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
66c0dab3c7
commit
046338b849
@ -572,8 +572,8 @@
|
||||
|
||||
(macro (catch form)
|
||||
(let ((label (gensym)))
|
||||
`(call/cc (lambda (exit)
|
||||
(push-handler (lambda (*error*) (exit ,(cadr form))))
|
||||
`(call/cc (lambda (**exit**)
|
||||
(push-handler (lambda (*error*) (**exit** ,(cadr form))))
|
||||
(let ((,label (begin ,@(cddr form))))
|
||||
(pop-handler)
|
||||
,label)))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user