aboutsummaryrefslogtreecommitdiffstats
path: root/common/argparse.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-11-18 12:23:11 +0000
committerJustus Winter <[email protected]>2016-12-08 16:15:20 +0000
commitfcf5aea44627def43425d03881e20902e7c0331e (patch)
treea786be767f3e6980e94eb061386204eccde9789f /common/argparse.c
parentgpg: Fix the fix out-of-bounds access. (diff)
downloadgnupg-fcf5aea44627def43425d03881e20902e7c0331e.tar.gz
gnupg-fcf5aea44627def43425d03881e20902e7c0331e.zip
gpgscm: Implement tags.
* tests/gpgscm/opdefines.h: Add opcodes to create and retrieve tags. * tests/gpgscm/scheme.c (T_TAGGED): New macro. (mk_tagged_value): New function. (has_tag): Likewise. (get_tag): Likewise. (mark): Mark tag. (opexe_4): Implement new opcodes. * tests/gpgscm/scheme.h (USE_TAGS): New macro. -- Tags are similar to property lists, but property lists can only be attached to symbols. Tags can not be attached to an existing object, but a tagged copy can be created. Once done, the tag can be manipulated in constant time. Using this during parsing will enable us to produce meaningful error messages. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'common/argparse.c')
0 files changed, 0 insertions, 0 deletions