Add automatic tags.
authorJames Ward <j.ward@acfr.usyd.edu.au>
Tue, 6 Oct 2015 23:02:09 +0000 (10:02 +1100)
committerJames Ward <j.ward@acfr.usyd.edu.au>
Fri, 9 Oct 2015 02:09:21 +0000 (13:09 +1100)
commit43707e785ef6d26773ef6b0a5cd6601b036c36f6
treed9f071eaf7df058c5f9077854f8e83fd466d3b45
parenteb65c521463af6e3da2cf05f49cf477fe7f8ec8c
Add automatic tags.

ConstructedTypes now have a method to autotag their components.
This will wrap all components in a TaggedType with incrementing
tag number, but only if no components are already tagged (as per
the ASN.1 specification).

After generating the module(s) this method is called on all
ConstructedTypes in the tree if the module's tag default is
AUTOMATIC.

Ignore ExtensionMarkers when autotagging.

Resolves #20.
asn1ate/sema.py
testdata/module_tag_default.asn