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:
Justus Winter 2016-07-26 18:35:58 +02:00
parent 66c0dab3c7
commit 046338b849
1 changed files with 2 additions and 2 deletions

View File

@ -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)))))