Home GnuPG
Diffusion GnuPG b79274a3b7e5

gpgscm: Add 'finally', rework all macros.
b79274a3b7e5Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpgscm: Add 'finally', rework all macros.

* tests/gpgscm/init.scm (finally): New macro.
* tests/gpgscm/tests.scm (letfd): Rewrite.
(with-working-directory): Likewise.
(with-temporary-working-directory): Likewise.
(lettmp): Likewise.

Rewrite all our macros using 'define-macro'. Use the new control flow
mechanism 'finally', or 'dynamic-wind' where appropriate. Make sure
the macros are hygienic. Reduce code duplication.

  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Dec 22 2016, 2:42 PM
Parents
rGe8b843508dac: gpgscm: Use boxed values for source locations.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGb79274a3b7e5: gpgscm: Add 'finally', rework all macros. (authored by Justus Winter <justus@g10code.com>).Jan 2 2017, 11:02 AM