gpgscm: Add flag TAIL_CONTEXT.
authorJustus Winter <justus@g10code.com>
Mon, 21 Nov 2016 16:25:10 +0000 (17:25 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 8 Dec 2016 16:15:20 +0000 (17:15 +0100)
commit01256694f006405c54bc2adef63ef0c8f07da9ee
tree3901d7013738d44e4cbe32c397696acc8084960f
parenta4a69163d9d7e4d9f3339eb5cda0afb947180b26
gpgscm: Add flag TAIL_CONTEXT.

* tests/gpgscm/scheme.c (S_FLAG_TAIL_CONTEXT): New macro.  This flag
indicates that the interpreter is evaluating an expression in a tail
context (see R5RS, section 3.5).
(opexe_0): Clear and set the flag according to the rules layed out in
R5RS, section 3.5.
(opexe_1): Likewise.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/scheme.c