diff options
author | Justus Winter <[email protected]> | 2017-07-11 14:07:39 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-07-13 10:00:55 +0000 |
commit | ba3164673676468472ae37f32c3964d231e8a8f8 (patch) | |
tree | a8255d6584ce51348e9c7d200e2bbf31fdb8d8bf | |
parent | gpgscm: Limit the number of parallel jobs. (diff) | |
download | libgpg-error-ba3164673676468472ae37f32c3964d231e8a8f8.tar.gz libgpg-error-ba3164673676468472ae37f32c3964d231e8a8f8.zip |
gpgscm: Make it impossible to catch '*interpreter-exit*'.
* tests/gpgscm/init.scm (throw'): Make it impossible to catch
'*interpreter-exit*'. This fixes 'exit' (and with it 'fail') inside
'catch' statements.
Signed-off-by: Justus Winter <[email protected]>
-rw-r--r-- | init.scm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -605,12 +605,12 @@ ;; This is used by the vm to throw exceptions. (define (throw' message args history) (cond - ((more-handlers?) - ((pop-handler) message args history)) ((and args (list? args) (= 2 (length args)) (equal? *interpreter-exit* (car args))) (*run-atexit-handlers*) (quit (cadr args))) + ((more-handlers?) + ((pop-handler) message args history)) (else (display message) (when (and args (not (null? args))) |